From db2a27384505e5f9f414f98f38ab70d07e0a0352 Mon Sep 17 00:00:00 2001 From: MikeWallaceDev Date: Mon, 25 Jul 2022 12:44:54 -0400 Subject: [PATCH] fix: put back commintlint config because the server will need it --- commitlint.config.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 commitlint.config.js diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000000..1e1af55752 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,25 @@ +// module.exports = {extends: ['@commitlint/config-conventional']} +module.exports = { + rules: { + 'header-max-length': [2, 'always', 100], + + 'type-enum': [2, 'always', ['build', 'chore', 'ci', 'docs', 'feat', 'feature', 'fix', 'refactor', 'style', 'test']], + 'type-empty': [2, 'never'], + 'type-case': [2, 'always', 'lower-case'], + + 'subject-empty': [2, 'never'], + 'subject-case': [ + 0, + 'never', + ['sentence-case', 'start-case', 'pascal-case', 'upper-case'], + ], + + 'body-leading-blank': [2, 'always'], + 'body-max-line-length': [2, 'always', 200], + 'body-case': [0, 'never', []], + + 'footer-leading-blank': [1, 'always'], + 'footer-max-line-length': [2, 'always', 100] + }, +}; +