eslint-config-nimedev-react

6.0.0 • Public • Published

eslint-config-nimedev-react

npm

An ESLint Shareable Config for React applications.

Installation

It requires babel-eslint, eslint, eslint-plugin-import, eslint-plugin-react, and eslint-plugin-jsx-a11y.

$ npm install eslint-config-nimedev-react babel-eslint eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y

Usage

Set your eslint config to:

{
  "extends": "nimedev-react"
}

Extending the config

Simply add a "rules" key to your config and add your overrides there.

For example, to change the indentation to tabs and turn off the no-console rule:

{
  "extends": "nimedev-react",
  "rules": {
    "indentation": "tab",
    "no-console": 0
  }
}

Package Sidebar

Install

npm i eslint-config-nimedev-react

Weekly Downloads

17

Version

6.0.0

License

MIT

Last publish

Collaborators

  • nimedev