Skip to content

Commit

Permalink
feat: use eslint for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSuperDev committed Aug 12, 2021
1 parent 25530e2 commit 5319d05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint
yarn lint-staged
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md,mdx}": [
"yarn eslint src --max-warnings=0",
"yarn prettier --write"
]
}
Expand Down

0 comments on commit 5319d05

Please sign in to comment.