Skip to content

Commit 63613e6

Browse files
committed
feat(linting): add scopes
1 parent 570e6a9 commit 63613e6

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

client/commitlint.config.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
module.exports = { extends: ['@commitlint/config-conventional'] };
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'scope-enum': [
5+
2,
6+
'always',
7+
[
8+
'core',
9+
'linting',
10+
'backend',
11+
'frontend',
12+
'authentication',
13+
'styles',
14+
'documentation',
15+
'misc',
16+
],
17+
],
18+
},
19+
};

0 commit comments

Comments
 (0)