Closed shepmaster closed 8 years ago
Following the steps in the book:
npm i eslint --save-dev
"test:lint": "eslint . --ext .js --ext .jsx --cache"
package.json
npm run test:lint
You will get the error:
Oops! Something went wrong! :( ESLint couldn't find a configuration file. To set up a configuration file for this project, please run: eslint --init
The error message is straightforward to fix, but it may be worth including it in the text.
Thanks!
Following the steps in the book:
npm i eslint --save-dev
"test:lint": "eslint . --ext .js --ext .jsx --cache"
topackage.json
npm run test:lint
You will get the error:
The error message is straightforward to fix, but it may be worth including it in the text.