Skip to content

Commit

Permalink
chore(root): allow deps as a scope for commitlint
Browse files Browse the repository at this point in the history
Dependabot updates dependencies using the scope
deps on BitgoJS, which before was causing commitlint
errors. This will whitelist the scope so we
dont have to worry about it anymore.

TICKET: BTC-491
  • Loading branch information
davidkaplanbitgo committed Oct 2, 2023
1 parent 4bd23ac commit 483c8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
extends: ['@commitlint/config-conventional'],
ignores: [(commit) => /^Merge commit '[a-f0-9]{40}'$/m.test(commit)],
rules: {
'scope-enum': async () => [2, 'always', (await readdir('modules')).concat('root')],
'scope-enum': async () => [2, 'always', (await readdir('modules')).concat('root', 'deps')],
'footer-max-line-length': [0, 'always', Infinity],
'references-empty': [2, 'never'],
},
Expand Down

0 comments on commit 483c8b8

Please sign in to comment.