Skip to content

Commit

Permalink
feat(dev): add linting for staged files
Browse files Browse the repository at this point in the history
  • Loading branch information
vobu committed Feb 22, 2022
1 parent 1d35dbc commit f4fc3b1
Show file tree
Hide file tree
Showing 5 changed files with 537 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# build artifacts
dist
Loading

0 comments on commit f4fc3b1

Please sign in to comment.