From bf9cef53f09974ef5490347114151cd6b2bf10d9 Mon Sep 17 00:00:00 2001 From: Soban Javed Date: Mon, 5 Apr 2021 22:25:13 +0500 Subject: [PATCH] feat: added commitlint configuration file for global use --- edx_lint/files/.commitlintrc.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 edx_lint/files/.commitlintrc.yml diff --git a/edx_lint/files/.commitlintrc.yml b/edx_lint/files/.commitlintrc.yml new file mode 100644 index 00000000..ca4358bf --- /dev/null +++ b/edx_lint/files/.commitlintrc.yml @@ -0,0 +1,26 @@ +extends: + - '@commitlint/config-conventional' + +rules: + footer-leading-blank: [1, 'always'] + type-case: [2, 'always', 'lower-case'] + type-empty: [2, 'never'] + type-enum: [ + 2, + 'always', + [ + 'build', + 'chore', + 'docs', + 'feat', + 'fix', + 'perf', + 'refactor', + 'revert', + 'style', + 'test', + 'temp', + ] + ] + +