Skip to content

Commit a1cc15f

Browse files
committed
ci: ensure commitlint uses the correct config
1 parent cb6b1df commit a1cc15f

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

commitlint.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* eslint-env node */
2+
'use strict';
3+
4+
module.exports = {
5+
extends: ['@commitlint/config-conventional'],
6+
rules: {
7+
'header-max-length': [0, 'always', 288],
8+
},
9+
};

package.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,6 @@
148148
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
149149
}
150150
},
151-
"commitlint": {
152-
"extends": [
153-
"@commitlint/config-conventional"
154-
],
155-
"rules": {
156-
"header-max-length": [
157-
0,
158-
"always",
159-
288
160-
]
161-
}
162-
},
163151
"prettier": {
164152
"printWidth": 100,
165153
"semi": true,

0 commit comments

Comments
 (0)