From 197d43dadda28e5e32ecee726603b4514485e693 Mon Sep 17 00:00:00 2001 From: Andrew Fischer Date: Tue, 9 Apr 2024 15:41:56 -0700 Subject: [PATCH] chore: add an ignore rule for commitlint so dependabot bumps work This commit adds a rule to commitlint to ignore linting commits which bump dependencies in a manner dependabot does. Ticket: VL-0 --- commitlint.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commitlint.config.js b/commitlint.config.js index fc57c01398..7e9790b6e9 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -5,6 +5,7 @@ module.exports = { ignores: [ (commit) => /^Merge commit '[a-f0-9]{40}'$/m.test(commit), (commit) => /^chore\(root\): publish modules/m.test(commit), + (commit) => /^chore(deps): /m.test(commit), ], rules: { 'scope-enum': async () => [2, 'always', (await readdir('modules')).concat('root', 'deps')],