mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Added linting scripts
- Incorrectly assumed this was automatically part of `react-scripts test`.
This commit is contained in:
parent
31b80d8270
commit
4ddddabe85
@ -19,7 +19,9 @@
|
|||||||
"build:combined": "node ./scripts/build-combined.js",
|
"build:combined": "node ./scripts/build-combined.js",
|
||||||
"build:bundle": "webpack --config webpack.config.js",
|
"build:bundle": "webpack --config webpack.config.js",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject",
|
||||||
|
"lint": "eslint src --ext .js --cache",
|
||||||
|
"posttest": "yarn lint"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "react-app"
|
"extends": "react-app"
|
||||||
|
Loading…
Reference in New Issue
Block a user