Registry / testing / eslint-config-adslot

eslint-config-adslot

JSON →
library2.2.1jsnpmunverified

ESLint shareable config for Adslot, currently at v2.2.1 requiring Node.js ^24 and ESLint ^9.39.1. It bundles plugins for React, JSX accessibility, import rules, Lodash, Chai-friendly assertions, and TypeScript (via @typescript-eslint). Release cadence is irregular; breaking changes occurred at v2.0.0 when upgrading to ESLint v9. Differentiators: opinionated setup for Adslot's internal stack, includes chai-friendly and lodash rules.

npm install eslint-config-adslot
INSTALL
IMPORT
SIG · ESLINT-CONFIG-ADSL
E
eslint-config-adslot
testingjavascriptv2.2.1
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.

default
{"extends": "adslot"}
{"extends": "eslint-config-adslot"}
Use shorthand 'adslot'; the full package name is for scoped packages
config
import eslintConfigAdslot from 'eslint-config-adslot'
const eslintConfigAdslot = require('eslint-config-adslot')
ESLint v9 flat config prefers ESM, but legacy config works with require
react
{"extends": "adslot/react"}
{"extends": "adslot"}
If you only need React rules, use the sub-config; main config includes everything

Shows how to extend the config in both legacy .eslintrc and flat config formats.

// .eslintrc.json { "extends": "adslot" } // Or for flat config (eslint.config.js) export default [ ...require('eslint-config-adslot'), { rules: { // your overrides } } ];
Debug
Known issues
breakingv2.0.0 drops support for ESLint <9. Config must use new flat config or .eslintrc with ESLint v9 compatibility mode.
fix
Upgrade ESLint to v9 and migrate to flat config, or use ESLint v8 with eslint-config-adslot@1.x.
affects: >=2.0.0
deprecatedNode.js ^24 is required; older versions (e.g. 18, 20) are unsupported and may cause installation failures.
fix
Update Node.js to v24.
affects: >=2.2.0
gotchaThe config includes eslint-plugin-lodash and eslint-plugin-chai-friendly; if your project doesn't use these libraries, you'll get false positives.
fix
Override or disable rules from these plugins in your own config.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Failed to load plugin '@typescript-eslint' declared in 'eslint-config-adslot': Cannot find module '@typescript-eslint/eslint-plugin'
Missing peer dependencies for TypeScript support when using flat config.
fix
Run: npm install -D @typescript-eslint/eslint-plugin @typescript-eslint/parser
Error: .eslintrc.json: Configuration for rule "import/no-cycle" is invalid: Value "ignoreExternal" has unexpected property.
Using eslint-config-adslot@1.x with ESLint v9; rule option format changed.
fix
Upgrade to eslint-config-adslot@2.x and use flat config or compatible .eslintrc.
Error: Cannot find module 'eslint-config-adslot' from <path>
The package is not installed or the extends shorthand is misspelled.
fix
Install: npm install -D eslint-config-adslot eslint. Then use 'extends': 'adslot'.
Upgrade
Version history
2.2.1latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required at runtime
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-adslot — npm install eslint-config-adslot · libregistry