eslint-config-cantonjs
v2.2.0 eslint lint javascript
eslint-config-cantonjs
ESLint shareable config for the Cantonjs
Installation
NPM
$ npm install --save-dev eslint eslint-config-cantonjs eslint-config-standard eslint-plugin-import eslint-plugin-jest eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-standard
Yarn
$ yarn add --dev eslint eslint-config-cantonjs eslint-config-standard eslint-plugin-import eslint-plugin-jest eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-standard
Usage
Once the eslint-config-cantonjs
package is installed, you can use it by specifying cantonjs
in the extends
section of your ESLint configuration.
{
"extends": "cantonjs",
"rules": {
// Additional, per-project rules...
}
}
Configures / Extends
extends: "cantonjs"
basic usageextends: "cantonjs/base"
the same withextends: "cantonjs"
extends: "cantonjs/react"
base
+react
Related Projects
License
MIT © Cantonjs
npm i eslint-config-cantonjs
Metadata
- MIT
- ^6.14.0 || ^8.10.0 || >=9.10.0
- Cap32
- released 9/18/2018