Never Push Mistakes

    react-app-rewired-eslint

    0.2.4 • Public • Published

    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
    

    Keywords

    none

    Install

    npm i react-app-rewired-eslint

    DownloadsWeekly Downloads

    287

    Version

    0.2.4

    License

    MIT

    Unpacked Size

    2.05 kB

    Total Files

    3

    Last publish

    Collaborators

    • noah-kun