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-eyeoVerified import paths — ran on the pinned version, not inferred.
Setup ESLint with eyeo config. Create .eslintrc.json with extends, then run eslint from CLI or script.
Update ESLint to >=6.7.0.
Ensure all ESLint plugins support ESLint's flat config if using eslint.config.js.
Install eslint and eslint-config-eyeo as devDependencies in each project and run via npx eslint.
Add rules object in .eslintrc.json to override.
Run 'npm install --save-dev eslint-config-eyeo' in the project.
Use integer severity: 0, 1, or 2.
Check spelling and ensure package is installed. Must be 'eslint-config-eyeo'.
Install both eslint and eslint-config-eyeo locally.