react-app-rewired-eslint
v0.2.4
Published
rewire your react-app and use your own esling config
Downloads
871
Readme
Clone of v0.2.2 of react-app-rewire-eslint
because I could not find the repo and the most recent version is blank. Use at own risk. License was listed as MIT.
1) Install react-app-rewired + react-app-rewired-eslint
npm install react-app-rewired react-app-rewired-eslint --save
2) Create a config-overrides.js file in the root directory
const rewireEslint = require('react-app-rewired-eslint');
/* config-overrides.js */
module.exports = function override(config, env) {
config = rewireEslint(config, env);
return config;
}
3) Create your own .eslintrc in the root directory
Sample Structure
+-- your-project
| +-- .eslintrc
| +-- config-overrides.js
| +-- node_modules
| +-- package.json
| +-- public
| +-- README.md
| +-- src