Skip to content

Commit

Permalink
feat: add lint staged
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabb-c committed Apr 27, 2023
1 parent 76b4749 commit 32cafe4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm lint-staged
3 changes: 3 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"src/**/*": ["pnpm lint:fix", "pnpm format:fix"]
}

0 comments on commit 32cafe4

Please sign in to comment.