This package has been deprecated

Author message:

It was creating without unpublish policy knowing

eslint-config-insighty-react

0.1.9 • Public • Published

eslint-config-insighty-react

Standard Insighty React ESLint configuration.

How do I use this?

First, install all the necessary dependencies as described below.

yarn option

yarn add --dev eslint-config-insighty-react babel-eslint@^8.2.6 eslint@^5.2.0 eslint-config-airbnb@^17.0.0 eslint-plugin-import@^2.13.0 eslint-plugin-jsx-a11y@^6.1.1 eslint-plugin-react@^7.10.0

npm option

npm install --dev eslint-config-insighty-react babel-eslint@^8.2.6 eslint@^5.2.0 eslint-config-airbnb@^17.0.0 eslint-plugin-import@^2.13.0 eslint-plugin-jsx-a11y@^6.1.1 eslint-plugin-react@^7.10.0

Then create a file named .eslintrc with the following contents in the root folder of your project:

{
  "extends": "insighty-react"
}

If you might want to list the peer dependencies and versions, simply run

npm info "eslint-config-insighty-react@latest" peerDependencies
Note:

If you encounter with an eslint message "Unable to resolve path to module", you can add additional rule "import/no-unresolved": "off" into "rules" attribute which points to an array of rules or import your absolute paths as in the example below:

"settings": {
  "import/resolver": {
    "node": {
      "moduleDirectory": [
        "src/imports"
      ]
    }
  }
}

Package Sidebar

Install

npm i eslint-config-insighty-react

Weekly Downloads

5

Version

0.1.9

License

ISC

Unpacked Size

4.4 kB

Total Files

3

Last publish

Collaborators

  • npm