From 61a8c6f03738969e26925d416d0064805b954543 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 8 Sep 2020 11:38:10 -0400 Subject: [PATCH] chore: update commitlint config --- commitlint.config.js | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/commitlint.config.js b/commitlint.config.js index 6b18799869..c485cf62c9 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,3 +1,25 @@ 'use strict'; -module.exports = { extends: ['@commitlint/config-angular'] }; +module.exports = { + extends: ['@commitlint/config-angular'], + rules: { + 'type-enum': [ + 2, + 'always', + [ + 'breaking', + 'build', + 'chore', + 'ci', + 'docs', + 'feat', + 'fix', + 'perf', + 'refactor', + 'revert', + 'style', + 'test', + ], + ], + }, +};