Skip to content

Commit

Permalink
chore: add commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jul 29, 2024
1 parent a84c8a7 commit 91f3885
Show file tree
Hide file tree
Showing 6 changed files with 1,026 additions and 21 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint:commit -- --edit ${1}
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx lint-staged
npm run lint:staged
10 changes: 10 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [0],
'footer-max-line-length': [0],
'header-max-length': [0],
'subject-case': [0],
'subject-full-stop': [0],
},
};
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"words": [
"boneskull",
"cbor",
"commitlint",
"filesystems",
"impvol",
"knip",
Expand Down
Loading

0 comments on commit 91f3885

Please sign in to comment.