Commit 3d00b64d authored by Ashu Ghildiyal's avatar Ashu Ghildiyal
Browse files

frontend: Add lint fix script

We were not having a script that fixes all fixable errors from linting.
This patch thus adds the lint:fix script.
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -41,7 +41,8 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint -c .eslintrc.yml --ext .js,.ts,.tsx src/"
"lint": "eslint -c .eslintrc.yml --ext .js,.ts,.tsx src/",
"lint:fix": "eslint -c .eslintrc.yml --fix 'src/**/*.{ts,tsx}'"
},
"browserslist": {
"production": [
......
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