Added lint command in package.json

This commit is contained in:
Halvor Smørvik
2021-10-21 23:29:16 +02:00
parent 4f7016b706
commit e7f3d18fc5
+2 -1
View File
@@ -72,7 +72,8 @@
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject" "eject": "react-scripts eject",
"lint": "eslint 'src/**/*.{tsx,ts,js,jsx}'"
}, },
"eslintConfig": { "eslintConfig": {
"extends": "react-app" "extends": "react-app"