Skip to content

Commit

Permalink
Create pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
araujogui committed May 31, 2024
1 parent 5647db6 commit 8035372
Show file tree
Hide file tree
Showing 4 changed files with 700 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
4 changes: 4 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"*.{js,jsx,ts,tsx,mjs}": ["eslint --fix", "prettier --write"],
"*.{json,yml}": ["prettier --write"]
}
Loading

0 comments on commit 8035372

Please sign in to comment.