Skip to content

Commit 4b118a9

Browse files
feat(devops): add commitlint for enforcing conventional commit messages
1 parent fa3bd1c commit 4b118a9

File tree

13 files changed

+3197
-277
lines changed

13 files changed

+3197
-277
lines changed

.eslintrc.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ module.exports = {
2525
"no-shadow": "off",
2626
"react/jsx-uses-react": ["off"],
2727
"react/react-in-jsx-scope": ["off"],
28+
"no-unused-vars": [
29+
"error",
30+
{ vars: "all", args: "after-used", ignoreRestSiblings: false },
31+
],
32+
"react/jsx-pascal-case": ["error", { allowAllCaps: true }],
33+
"no-console": "error",
2834
"import/no-extraneous-dependencies": ["error", { devDependencies: true }],
2935
"prettier/prettier": ["error", { singleQuote: false }],
3036
},

commitlint.config.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
};

0 commit comments

Comments
 (0)