I've placed a .eslintignore
file in the root of my create-react-app installation, so I can ignore warnings from vendor libs.
It works fine if I run eslint from the commandline:
./node_modules/.bin/eslint src/js/vendor/jquery.js
...warnings ignored...
However running npm start
and npm run build
seem to ignore the ignore file.
How can I achieve what I want to do here - without editing individual vendor files to add eslint options?