Skip to content

Commit

Permalink
replace lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Dec 8, 2024
1 parent c6834de commit a33d6d5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 158 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx lint-staged
npx nano-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint-plugin-unicorn": "^56.0.1",
"husky": "^9.1.7",
"knip": "^5.38.2",
"lint-staged": "^15.2.10",
"nano-staged": "^0.8.0",
"np": "^10.1.0",
"prettier": "^3.4.1",
"strip-ansi": "^7.1.0",
Expand All @@ -66,7 +66,7 @@
"valibot": ">=0.30 <2.0.0",
"vite": ">=5 <7"
},
"lint-staged": {
"nano-staged": {
"*.ts": [
"eslint --cache --fix",
"prettier --cache --write"
Expand Down
Loading

0 comments on commit a33d6d5

Please sign in to comment.