Skip to content

Commit

Permalink
Replace lint-staged to nano-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
usmanyunusov committed Dec 18, 2021
1 parent 3d6ac6d commit 828c009
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 303 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
./node_modules/.bin/nano-staged --config ./.nano-staged.json
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@size-limit/time": "^7.0.4",
"clean-publish": "^3.4.4",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"nano-staged": "^0.5.0",
"prettier": "^2.5.1",
"size-limit": "^7.0.4",
"tinyspy": "^0.0.3",
Expand Down
Loading

0 comments on commit 828c009

Please sign in to comment.