Skip to content

Commit

Permalink
fix: Remove deprecated rules for commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymond Feng committed Nov 8, 2017
1 parent 84b1632 commit d3c0edf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ module.exports = {
rules: {
'header-max-length': [2, 'always', 100],
'footer-max-length': [2, 'always', 100],
'body-tense': [1, 'always', ['present-imperative']],
'footer-tense': [1, 'always', ['present-imperative']],
'subject-tense': [2, 'always', ['present-imperative']],
'lang': [0, 'always', 'eng'],
'body-leading-blank': [2, 'always'],
'footer-leading-blank': [0, 'always'],
}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^4.2.2",
"@commitlint/config-angular": "^4.2.0",
"@commitlint/config-lerna-scopes": "^4.2.0",
"@commitlint/cli": "^4.3.0",
"@commitlint/config-angular": "^4.3.0",
"@commitlint/config-lerna-scopes": "^4.3.0",
"@types/mocha": "^2.2.44",
"@types/node": "^8.0.50",
"@types/request": "^2.0.7",
Expand Down

0 comments on commit d3c0edf

Please sign in to comment.