From bc5a3287104b06ab3b6ec7ee0edb1e6f02448e81 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Sat, 2 Jun 2018 23:18:28 +0200 Subject: [PATCH] Revert "fix(rules): do not negate case rules (#330)" This reverts commit 996deb34065a21d66af314faef2ae5562b62c74c. --- @commitlint/config-angular/index.js | 4 ++-- @commitlint/config-conventional/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/@commitlint/config-angular/index.js b/@commitlint/config-angular/index.js index 73f7d5d445..00c76b49d3 100644 --- a/@commitlint/config-angular/index.js +++ b/@commitlint/config-angular/index.js @@ -8,8 +8,8 @@ module.exports = { 'scope-case': [2, 'always', 'lower-case'], 'subject-case': [ 2, - 'always', - ['camel-case', 'kebab-case', 'lower-case', 'snake-case'] + 'never', + ['sentence-case', 'start-case', 'pascal-case', 'upper-case'] ], 'subject-empty': [2, 'never'], 'subject-full-stop': [2, 'never', '.'], diff --git a/@commitlint/config-conventional/index.js b/@commitlint/config-conventional/index.js index 4c81835a00..f26ad5a57f 100644 --- a/@commitlint/config-conventional/index.js +++ b/@commitlint/config-conventional/index.js @@ -6,8 +6,8 @@ module.exports = { 'scope-case': [2, 'always', 'lower-case'], 'subject-case': [ 2, - 'always', - ['camel-case', 'kebab-case', 'lower-case', 'snake-case'] + 'never', + ['sentence-case', 'start-case', 'pascal-case', 'upper-case'] ], 'subject-empty': [2, 'never'], 'subject-full-stop': [2, 'never', '.'],