Skip to content

Commit c89283f

Browse files
feat(root): add scripts to valid commit scopes
Add 'scripts' to the list of valid scopes for commit messages in commitlint configuration, allowing proper scope identification for script-related changes. Issue: BTC-1933
1 parent bcb4494 commit c89283f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitlint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
(commit) => commit.includes('Signed-off-by: dependabot[bot] <[email protected]>'),
99
],
1010
rules: {
11-
'scope-enum': async () => [2, 'always', (await readdir('modules')).concat('root', 'deps')],
11+
'scope-enum': async () => [2, 'always', (await readdir('modules')).concat('root', 'deps', 'scripts')],
1212
'footer-max-line-length': [0, 'always', Infinity],
1313
'references-empty': [2, 'never'],
1414
},

0 commit comments

Comments
 (0)