Skip to content

Commit 8daaa61

Browse files
committed
build(commit): dogfood scopes helper from API
1 parent 58ed6e9 commit 8daaa61

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

commitlint.config.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const {ls} = require('./src/api/commit')
1+
const {ls, scopes} = require('./src/api/commit')
22

33
module.exports = {
44
extends: ['./src/config/commitlint.config'],
@@ -7,12 +7,10 @@ module.exports = {
77
1,
88
'always',
99
[
10+
...scopes.build(),
1011
'config',
1112
'scripts',
1213
'api',
13-
'deps',
14-
'deps-dev',
15-
'build',
1614
...ls.configs('./src/config'),
1715
...ls.configs('./src/scripts'),
1816
...ls.configs('./src/api'),

0 commit comments

Comments
 (0)