Unverified Commit 24e4cf3c authored by Mauro Mandracchia's avatar Mauro Mandracchia Committed by GitHub
Browse files

Implement husky to run eslint with --fix flag (#13)

parent 8aa82fee
......@@ -51,9 +51,8 @@
"web-vitals": "^1.0.1"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
"*.{js,jsx,ts,tsx}": ["eslint --fix"],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": ["prettier --write"]
},
"proxy": "http://localhost:8080",
"scripts": {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment