Registry / testing / eslint-config-eyeo

eslint-config-eyeo

JSON →
library3.2.0jsnpmunverified

ESLint shareable config enforcing eyeo/Adblock Plus JavaScript coding style. Version 3.2.0, with ESLint >=6.7.0 as a peer dependency. Provides a consistent linting base for all eyeo projects, including Adblock Plus. It is a flat, unopinionated rule set that can be extended. Released as needed; no frequent updates. Unlike generic configs (e.g., eslint-config-standard), it is tailored to eyeo's internal style guide.

npm install eslint-config-eyeo
INSTALL
IMPORT
SIG · ESLINT-CONFIG-EYEO
E
eslint-config-eyeo
testingjavascriptv3.2.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eslint-config-eyeo
module.exports = { extends: 'eslint-config-eyeo', root: true }
module.exports = { extends: ['eslint-config-eyeo'], root: true }
Use a single string in extends, not array, for shareable configs. This works with .eslintrc.* or eslintConfig in package.json.
CLI usage
eslint some-file.js
eslint --config eslint-config-eyeo some-file.js
The config is inherited via extends, not passed directly as a config file.
Global install
npm install -g eslint eslint-config-eyeo
npm install -g eslint-config-eyeo
eslint must be installed globally alongside the config to use the CLI globally. For local projects, install both as devDependencies.

Setup ESLint with eyeo config. Create .eslintrc.json with extends, then run eslint from CLI or script.

// .eslintrc.json { "extends": "eslint-config-eyeo", "root": true } // package.json script "scripts": { "lint": "eslint ." }
Debug
Known issues
gotchaRequires ESLint >=6.7.0. Older ESLint versions will fail to parse the config.
fix
Update ESLint to >=6.7.0.
affects: <6.7.0
breakingConfig uses ESLint's new config format (array of objects) which may not be compatible with older ESLint plugins expecting rc-style config.
fix
Ensure all ESLint plugins support ESLint's flat config if using eslint.config.js.
affects: >=3.0.0
gotchaGlobal installation is discouraged; prefer local devDependencies to avoid version conflicts across projects.
fix
Install eslint and eslint-config-eyeo as devDependencies in each project and run via npx eslint.
affects: all
deprecatedThe config extends base rules; any overrides must be explicitly set in user config.
fix
Add rules object in .eslintrc.json to override.
affects: all
Errors
Common errors & fixes
Cannot find module 'eslint-config-eyeo'
Config not installed or not in node_modules.
fix
Run 'npm install --save-dev eslint-config-eyeo' in the project.
Configuration for rule "xyz" is invalid: Severity should be one of the following: 0 = off, 1 = warning, 2 = error
User overrides rule with invalid severity.
fix
Use integer severity: 0, 1, or 2.
ESLint couldn't find the config "eslint-config-eyeo" to extend from.
Config name typo or not installed.
fix
Check spelling and ensure package is installed. Must be 'eslint-config-eyeo'.
Error: Cannot find module 'eslint-config-eyeo' from '/path/to/project'
Config not in node_modules or missing peer dependency eslint.
fix
Install both eslint and eslint-config-eyeo locally.
Upgrade
Version history
3.2.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required for linting
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-eyeo — npm install eslint-config-eyeo · libregistry