Skip to content

Commit 0a35708

Browse files
committed
chore(commitlint): update line length rules for body and footer to 120 characters
- Adjust body-max-line-length and footer-max-line-length in commitlint configuration to allow for longer lines, improving readability and accommodating more detailed commit messages.
1 parent 3ddbd6a commit 0a35708

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

commitlint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ module.exports = {
2727
'subject-full-stop': [2, 'never', '.'],
2828
'header-max-length': [2, 'always', 100],
2929
'body-leading-blank': [1, 'always'],
30-
'body-max-line-length': [2, 'always', 100],
30+
'body-max-line-length': [2, 'always', 120],
3131
'footer-leading-blank': [1, 'always'],
32-
'footer-max-line-length': [2, 'always', 100],
32+
'footer-max-line-length': [2, 'always', 120],
3333
},
3434
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"eslint --fix"
5757
],
5858
"src/**/*.ts": [
59-
"tsc --noEmit --incremental"
59+
"sh -c 'npm run build'"
6060
]
6161
},
6262
"config": {

0 commit comments

Comments
 (0)