eslint-config-eyeo

3.2.0 • Public • Published

eslint-config-eyeo

An ESLint configuration that checks for compliance with the Adblock Plus coding style guide which is used for all eyeo projects.

Installation

npm install -g eslint eslint-config-eyeo

Usage

To lint a JavaScript file using ESLint you run the eslint command with the file as an argument. For example:

eslint some-file.js

For advanced usage see eslint --help.

In order to use eslint-config-eyeo your project's ESLint configuration should extend from it. A minimal example looks like this:

{
  "extends": "eslint-config-eyeo",
  "root": true
}

For projects without an ESLint configuration you can create your own personal configuration in ~/.eslintrc.json, but take care to remove the "root": true section from the above example.

Package Sidebar

Install

npm i eslint-config-eyeo

Weekly Downloads

1,028

Version

3.2.0

License

GPL-3.0

Unpacked Size

5.98 kB

Total Files

3

Last publish

Collaborators

  • office-it