npm install babel babel-eslint eslint eslint-plugin-react
Then set in your
Also enable whatever rules you’d like from eslint-plugin-react.
Add to your
Now you can lint your project by running
npm test. Note, this is an npm
package.json convention. Alternatively you could name the task
lint then run
npm run lint.
Ignore any files from linting by adding
See also NPM Scripts
If you need help solving your business problems with software read how to hire me.