Skip to content

Commit

Permalink
Add eslint prettier husky
Browse files Browse the repository at this point in the history
  • Loading branch information
vj-abishek committed Jan 14, 2021
1 parent dce32a2 commit be017c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@
}
},
"lint-staged": {
"index.js": [
"*.{js,ts}": [
"npx prettier --write",
"eslint *.js --fix-dry-run"
"eslint *.js --fix-dry-run",
"git add"
]
}
}

0 comments on commit be017c8

Please sign in to comment.