Skip to content

Commit a2c0baf

Browse files
authored
build(commit): dogfood scopes helper from API
1 parent b5cda63 commit a2c0baf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

commitlint.config.js

Lines changed: 2 additions & 4 deletions
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)