@xtrctio/eslint-config
v5.0.3
Published
ESLint config for xtrct.io
Downloads
12
Readme
@xtrctio/eslint-config
ESLint rules for xtrct.io
Installation
You'll first need to install ESLint:
$ npm i -D eslint
Next, install @xtrctio/eslint-config
:
$ npm i -D @xtrctio/eslint-config
Peer Dependencies
You'll also need to install the following peer dependencies:
$ npm i -D eslint-config-airbnb-base eslint-plugin-import eslint-plugin-mocha
Note: If you installed ESLint globally (using the -g
flag) then you must also install @xtrctio/eslint-config
globally, as well as it's peer dependencies.
Usage
Add @xtrctio/eslint-config
to the extends section of your .eslintrc
configuration file.
{
"extends": [
"@xtrctio/eslint-config"
]
}