Nominating Presidential Muppets

npm

Need private packages and team management tools?Check out npm Orgs. »

eslint-config-edited

1.0.1 • Public • Published

eslint-config-edited

A shareable ESLint config for the EDITED styleguide

Usage

  • npm install eslint-config-edited --save-dev
  • Don't forget to save the eslint-config-edited peerDependencies to your devDependencies!
  • Change your .eslintrc to the following .eslintrc
{
  "extends": "edited",
}

Import resolver settings

If you're using webpack you should

  • npm install eslint-import-resolver-webpack --save-dev
  • Add the following to your .eslintrc
settings: {
    "import/resolver": {
        webpack: {
            config: "<path-to-project-webpack-config>"
        }
    }
}

If you're not using webpack, but you do have .jsx files that you'd like to resolve then you can add the following settings to your .eslintrc file.

settings: {
    "import/resolver": {
        "node": {
            "extensions": [ ".js", ".jsx" ],
        }
    }
}

install

npm i eslint-config-edited

Downloadsweekly downloads

81

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability