Official pixore lint config
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.
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"]
}