Skip to content

Commit

Permalink
feat: fix commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
artabr committed Dec 2, 2024
1 parent bc6c380 commit 7a93ca3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx @biomejs/biome check src
8 changes: 2 additions & 6 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
['feat', 'fix', 'doc', 'style', 'refactor', 'test', 'revert', 'build', 'ci', 'perf', 'conf']
]
}
'body-max-line-length': [0],
},
};

0 comments on commit 7a93ca3

Please sign in to comment.