From c301bbca70fe53070b351a621722a736b4508731 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Wed, 28 Mar 2018 17:15:41 +0430 Subject: [PATCH] fix(commitlint): fix type-enum options (#99) fixes #94, #98 --- templates/commitlint.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/commitlint.config.js b/templates/commitlint.config.js index ede6e23..4e85795 100644 --- a/templates/commitlint.config.js +++ b/templates/commitlint.config.js @@ -12,7 +12,7 @@ const Configuration = { 'subject-full-stop': [2, 'never', '.'], 'type-case': [2, 'always', 'lower-case'], 'type-empty': [2, 'never'], - 'type-enum': [ + 'type-enum': [2, 'always', [ 'build', 'chore', 'ci', @@ -24,6 +24,7 @@ const Configuration = { 'revert', 'style', 'test', + ] ], }, };