From 6a080c5ca0a79e768bd989ad723b5688d39d073e Mon Sep 17 00:00:00 2001 From: acidicMercury8 Date: Wed, 17 Jul 2024 21:25:33 +0300 Subject: [PATCH] feat(CI/CD): Add CommitLint config --- .commitlintrc.json | 17 +++++++++++++++++ package.json | 6 ++++++ 2 files changed, 23 insertions(+) create mode 100644 .commitlintrc.json create mode 100644 package.json diff --git a/.commitlintrc.json b/.commitlintrc.json new file mode 100644 index 0000000..99487db --- /dev/null +++ b/.commitlintrc.json @@ -0,0 +1,17 @@ +{ + "extends": [ + "@commitlint/config-conventional" + ], + "rules": { + "subject-case": [ + 2, + "always", + [ + "sentence-case", + "start-case", + "pascal-case", + "upper-case" + ] + ] + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..cb5acc9 --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "dependencies": { + "@commitlint/cli": "latest", + "@commitlint/config-conventional": "latest" + } +}