npm.io
0.0.1 • Published 7 years ago

@pixore/eslint-config

Licence
MIT
Version
0.0.1
Deps
10
Size
5 kB
Vulns
0
Weekly
0

eslint-plugin-pixore

Official pixore lint config

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @pixore/eslint-config:

$ npm install @pixore/eslint-config --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install @pixore/eslint-config globally.

Usage

Add pixore to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["@pixore"]
}

If your are using React, add the specific configuration for it:

{
  "plugins": ["@pixore/eslint-config/react"]
}

Keywords