Skip to content

Commit

Permalink
chore(design-system): limited scope for commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pplancq committed Dec 10, 2024
1 parent 990e7e0 commit e3484ca
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
const config = {
extends: ["@commitlint/config-conventional"],
ignores: [commit => /release/.test(commit)],
rules: {
'scope-enum': [
2,
'always',
[
'design-system',
'look&feel',
'slash',
'apollo',
'deps',
'deps-dev',
'release',
],
],
},
};

module.exports = config;

0 comments on commit e3484ca

Please sign in to comment.