ESLint plugin for javascript projects
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install @paycertify/eslint-plugin
:
$ npm install @paycertify/eslint-plugin --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install @paycertify/eslint-plugin
globally.
Add eslint-plugin
to the plugins section of your .eslintrc
configuration file:
{
"plugins": [
"@paycertify"
]
}
Add @paycertify
to the extends section of your .eslintrc
configuration file to extends by all recommended JS rules:
{
"extends": [
"plugin:@paycertify/recommended",
]
}
plugin:@paycertify/recommended
- recommended rulesplugin:@paycertify/ember
- ember.js rulesplugin:@paycertify/node
- node.js rules