Added linting scripts

- Incorrectly assumed this was automatically part of `react-scripts test`.
This commit is contained in:
Hannah Wolfe 2020-04-01 12:43:42 +01:00 committed by GitHub
parent 31b80d8270
commit 4ddddabe85

View File

@ -19,7 +19,9 @@
"build:combined": "node ./scripts/build-combined.js",
"build:bundle": "webpack --config webpack.config.js",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"lint": "eslint src --ext .js --cache",
"posttest": "yarn lint"
},
"eslintConfig": {
"extends": "react-app"