diff --git a/commitlint.config.js b/commitlint.config.js index 1784b5e571..cbdc55805d 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -5,10 +5,15 @@ module.exports = { ignores: [ (commit) => /^Merge commit '[a-f0-9]{40}'$/m.test(commit), (commit) => /^chore\(root\): publish modules/m.test(commit), - (commit) => commit.includes('Signed-off-by: dependabot[bot] '), + (commit) => + commit.includes('Signed-off-by: dependabot[bot] '), ], rules: { - 'scope-enum': async () => [2, 'always', (await readdir('modules')).concat('root', 'deps', 'scripts')], + 'scope-enum': async () => [ + 2, + 'always', + (await readdir('modules')).concat('root', 'deps', 'scripts', 'examples'), + ], 'footer-max-line-length': [0, 'always', Infinity], 'references-empty': [2, 'never'], },