Adding npm command to run linting

This commit is contained in:
Eric Herbrandson
2020-08-05 07:54:22 -05:00
parent 6dfec43454
commit 233ad85bad
+2 -1
View File
@@ -30,7 +30,8 @@
"start": "PORT=4653 react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"lint": "tsc --noEmit && eslint 'src/**/*.{js,jsx,ts,tsx}' --fix"
},
"eslintConfig": {
"extends": "react-app"