Skip to content

Commit e68a4df

Browse files
committed
chore: commitling align
1 parent 71d6846 commit e68a4df

File tree

1 file changed

+9
-23
lines changed

1 file changed

+9
-23
lines changed

commitlint.config.js

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
module.exports = {
2-
/*
3-
* Resolve and load @commitlint/config-conventional from node_modules.
4-
* Referenced packages must be installed
5-
*/
6-
extends: ['@commitlint/config-angular'],
7-
/*
8-
* Resolve and load @commitlint/format from node_modules.
9-
* Referenced package must be installed
10-
*/
11-
formatter: '@commitlint/format',
12-
/*
13-
* Whether commitlint uses the default ignore rules.
14-
*/
15-
defaultIgnores: true,
16-
/*
17-
* Custom URL to show upon failure
18-
*/
19-
helpUrl:
20-
'https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines',
21-
rules: {
22-
"type-enum": [2, 'always' ,["ci", "docs", "feat", "fix", "refactor", "test", "chore"]],
23-
},
24-
};
2+
extends: ['@commitlint/config-angular'],
3+
formatter: '@commitlint/format',
4+
defaultIgnores: true,
5+
helpUrl:
6+
'https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines',
7+
rules: {
8+
'type-enum': [2, 'always' ,['ci', 'docs', 'feat', 'fix', 'refactor', 'test', 'chore']],
9+
},
10+
};

0 commit comments

Comments
 (0)