Skip to content

Commit 2c60b1e

Browse files
Raymond Fengraymondfeng
Raymond Feng
authored andcommitted
fix: Remove deprecated rules for commitlint
See https://github.com/marionebl/commitlint/issues/54
1 parent 84b1632 commit 2c60b1e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

commitlint.config.js

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ module.exports = {
1111
rules: {
1212
'header-max-length': [2, 'always', 100],
1313
'footer-max-length': [2, 'always', 100],
14-
'body-tense': [1, 'always', ['present-imperative']],
15-
'footer-tense': [1, 'always', ['present-imperative']],
16-
'subject-tense': [2, 'always', ['present-imperative']],
17-
'lang': [0, 'always', 'eng'],
1814
'body-leading-blank': [2, 'always'],
1915
'footer-leading-blank': [0, 'always'],
2016
}

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"license": "MIT",
1212
"dependencies": {},
1313
"devDependencies": {
14-
"@commitlint/cli": "^4.2.2",
15-
"@commitlint/config-angular": "^4.2.0",
16-
"@commitlint/config-lerna-scopes": "^4.2.0",
14+
"@commitlint/cli": "^4.3.0",
15+
"@commitlint/config-angular": "^4.3.0",
16+
"@commitlint/config-lerna-scopes": "^4.3.0",
1717
"@types/mocha": "^2.2.44",
1818
"@types/node": "^8.0.50",
1919
"@types/request": "^2.0.7",

0 commit comments

Comments
 (0)