Skip to content

Commit

Permalink
build(commit): dogfood scopes helper from API
Browse files Browse the repository at this point in the history
  • Loading branch information
jrolfs committed Oct 11, 2020
1 parent 58ed6e9 commit 8daaa61
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {ls} = require('./src/api/commit')
const {ls, scopes} = require('./src/api/commit')

module.exports = {
extends: ['./src/config/commitlint.config'],
Expand All @@ -7,12 +7,10 @@ module.exports = {
1,
'always',
[
...scopes.build(),
'config',
'scripts',
'api',
'deps',
'deps-dev',
'build',
...ls.configs('./src/config'),
...ls.configs('./src/scripts'),
...ls.configs('./src/api'),
Expand Down

0 comments on commit 8daaa61

Please sign in to comment.