Skip to content

Commit

Permalink
ci: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
brankoconjic committed Nov 5, 2024
1 parent 430cc60 commit f90c75f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = {
// Ignore dotfiles
".*.js",
".*.cjs",
"*.json",
".*.md",
".*.mdx",
"/dist",
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,14 @@
"engines": {
"node": ">=20"
},
"*": [
"bun lint:fix",
"bun run format"
],
"lint-staged": {
"*": [
"eslint",
"prettier --list-different"
]
},
"simple-git-hooks": {
"pre-commit": "bun run lint-staged",
"pre-commit": "bunx lint-staged",
"commit-msg": "bun run commitlint --edit $1"
}
}

0 comments on commit f90c75f

Please sign in to comment.