diff options
author | sualko <klaus@jsxc.org> | 2019-08-21 13:11:51 +0300 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2019-08-21 13:11:51 +0300 |
commit | 1d69c8c5ef9d8f1a153d71ca5db352e2cdf4cd9a (patch) | |
tree | 89ee8f5391161643260736cbe5aead96e7cb8e6b /.commitlintrc.json | |
parent | c4b296e3432f0cece6451a67b6dc95172ce95392 (diff) |
chore: add commitlint
Diffstat (limited to '.commitlintrc.json')
-rw-r--r-- | .commitlintrc.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.commitlintrc.json b/.commitlintrc.json new file mode 100644 index 0000000..85b07ea --- /dev/null +++ b/.commitlintrc.json @@ -0,0 +1,28 @@ +{ + "extends": ["@commitlint/config-conventional"], + "rules": { + "type-enum": [ + 2, + "always", + [ + "build", + "ci", + "chore", + "docs", + "feat", + "fix", + "perf", + "refactor", + "revert", + "style", + "test", + "example" + ] + ], + "body-max-line-length": [ + 1, + "always", + 100 + ] + } +} |