eslint-config-eyeo
An ESLint configuration that checks for compliance with the
Adblock Plus coding style guide.
Installation
npm install -g eslint eslint-config-eyeo
(As root, or using sudo.)
Usage
To lint a JavaScript file using ESLint you simply run the eslint
command with
the file as an argument. For example:
eslint some-file.js
(For advanced usage see eslint --help
.)
Note: If you need to lint files inside projects which do not already have an
ESLint configuration which extends eslint-config-eyeo
you can create a
personal configuration in ~/.eslintrc.json
like so:
{
"extends": "eslint-config-eyeo"
}