Registry / devops / eslint-config-current-thing

eslint-config-current-thing

JSON →
library8.0.3jsnpmunverified

Eslint Config Current Thing is an automatically generated, unopinionated ESLint config that combines the most popular ESLint configs, plugins, and parsers based on download popularity. v8.0.3, released periodically with automated updates. Differentiates by offering a 'current thing' approach that avoids opinionated debates by letting market competition determine the rules. Requires Node >=22, and combines dozens of configs including AirBnb, Antfu, Google, etc. Not recommended for production due to potential bloat and conflict issues.

npm install eslint-config-current-thing
INSTALL
IMPORT
SIG · ESLINT-CONFIG-CURR
E
eslint-config-current-thing
devopsjavascriptv8.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

default
import config from 'eslint-config-current-thing'
const config = require('eslint-config-current-thing')
ESM-only since v8; Node >=22 required.
config
import { config } from 'eslint-config-current-thing'
import { default } from 'eslint-config-current-thing'
Named export 'config' is available as well.
types
import type { Config } from 'eslint-config-current-thing'
TypeScript users should import the Config type for use with eslint flat config.

Shows how to import and use eslint-config-current-thing as a standalone config or as a base to extend with custom rules.

// eslint.config.js export { default } from 'eslint-config-current-thing'; // Or if you need to extend: import baseConfig from 'eslint-config-current-thing'; export default [ ...baseConfig, { rules: { 'no-console': 'warn', }, }, ];
Debug
Known issues
breakingESM-only since v8.0.0
fix
Use import syntax and set "type": "module" in package.json. Replace require with import.
affects: >=8.0.0
gotchaConfig combines dozens of popular configs/plugins, resulting in potentially hundreds of rules and plugins installed. This can lead to very slow linting and dependency bloat.
fix
Consider using a more minimal config or fine-tune rules to disable unused ones.
affects: >=1.0.0
gotchaConflicts between combined configs may cause unexpected linting outcomes. Although automated conflict discovery is implemented, manual review is advised.
fix
Test linting output carefully and override rules as needed.
affects: >=1.0.0
deprecatedNode.js v18 and earlier are not supported since v8.0.0
fix
Upgrade Node.js to v22 or later.
affects: >=8.0.0
Errors
Common errors & fixes
Failed to load config 'eslint-config-current-thing' to extend from.
Package not installed or not in node_modules. Or using CommonJS require with ESM-only version.
fix
Install the package: npm install eslint-config-current-thing --save-dev. If using v8+, use import instead of require.
ConfigError: Config 'airbnb' not found in eslint-config-current-thing
Trying to access a subset config that may not be directly exported.
fix
Only use the default export or the named 'config' export. Do not try to import sub-configs directly.
Upgrade
Version history
8.0.3latest on npm
Audit
Dependencies
eslintrequiredPeer dependency; ESLint is required to use this config.
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-current-thing — npm install eslint-config-current-thing · libregistry