We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f8ac43 commit 5bd45d6Copy full SHA for 5bd45d6
.pre-commit-config.yaml
@@ -29,3 +29,9 @@ repos:
29
rev: 32.177.0
30
hooks:
31
- id: renovate-config-validator
32
+ - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
33
+ rev: v9.4.0
34
+ hooks:
35
+ - id: commitlint
36
+ stages: [commit-msg]
37
+ additional_dependencies: ['@commitlint/config-conventional']
.commitlintrc.json renamed to commitlint.config.js
@@ -1,8 +1,11 @@
1
-{
2
- "extends": [
+module.exports = {
+ extends: [
3
"@commitlint/config-conventional"
4
],
5
- "rules": {
+ parserPreset: {
6
+ parserOpts: { headerPattern: /^([^\(\):]*)(?:\((.*)\))?!?: (.*)$/ }
7
+ },
8
+ rules: {
9
"type-enum": [
10
0,
11
"always"
@@ -24,4 +27,4 @@
24
27
25
28
]
26
}
-}
+};
0 commit comments