Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-eyeo

tlucas19.2kGPL-3.03.2.0

ESLint configuration as used by eyeo.

eyeo, adblockplus, abp, eslint, eslintconfig

readme

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.