@comparaonline/eslint-config
v1.1.0
Published
Eslint configuration for ComparaOnline
Downloads
11
Readme
eslint-config
The ComparaOnline linter shareable configuration for javascript.
Installation
First, you need eslint, if it isn't installed yet...
$ npm install --save-dev eslint
Then,
$ npm install --save-dev @comparaonline/eslint-config
Usage
Add this package into the extends
section of your .eslintrc.js
file.
{
extends: '@comparaonline/eslint-config'
}
Now you can execute eslint
in a npm script, as example:
"scripts": {
"lint:js": "eslint 'app/**/*.js'"
}