From d3c0edf520b9e83ab2657bca369b0bb888b534e9 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Wed, 8 Nov 2017 14:20:20 -0800 Subject: [PATCH] fix: Remove deprecated rules for commitlint See https://github.com/marionebl/commitlint/issues/54 --- commitlint.config.js | 4 ---- package.json | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index bbc730a0bea5..38abee8d8c5a 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -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'], } diff --git a/package.json b/package.json index 1944ccfdbb37..ec9d0ed27cce 100644 --- a/package.json +++ b/package.json @@ -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",