0.1.9 • Published 6 years ago

eslint-config-insighty-react v0.1.9

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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"
      ]
    }
  }
}
0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago