Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2019-08-21 13:11:51 +0300
committersualko <klaus@jsxc.org>2019-08-21 13:11:51 +0300
commit1d69c8c5ef9d8f1a153d71ca5db352e2cdf4cd9a (patch)
tree89ee8f5391161643260736cbe5aead96e7cb8e6b /.commitlintrc.json
parentc4b296e3432f0cece6451a67b6dc95172ce95392 (diff)
chore: add commitlint
Diffstat (limited to '.commitlintrc.json')
-rw-r--r--.commitlintrc.json28
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
+ ]
+ }
+}