Registry / testing / eslint-config-extreme

eslint-config-extreme

JSON →
library3.4.0jsnpmunverified

A comprehensive, modular ESLint configuration for modern JavaScript and TypeScript projects. Version 3.4.0 supports ESLint v9+ flat config format and ships with all plugins included out of the box. This package provides pre-built configurations for environment-agnostic, React/web, Node.js, and full-stack projects, with TypeScript support always included. Unlike alternatives like eslint-config-standard or airbnb, it bundles all dependences and requires zero manual plugin setup. The package is ESM-only, written in TypeScript with type definitions, and follows a 'batteries-included' philosophy.

npm install eslint-config-extreme
INSTALL
IMPORT
SIG · ESLINT-CONFIG-EXTR
E
eslint-config-extreme
testingjavascriptv3.4.0
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.

configs
✓ import { configs } from 'eslint-config-extreme'
✗ const { configs } = require('eslint-config-extreme')
ESM-only package; require() will fail. Use dynamic import or ESM context.
configs.base
✓ import { configs } from 'eslint-config-extreme'; ...configs.base
✗ import base from 'eslint-config-extreme/base'
Named export from root only; subpath exports are not supported.
configs.recommended
✓ import { configs } from 'eslint-config-extreme'; export default await configs.recommended
✗ export default configs.recommended
configs.recommended (and similar) return a Promise; must be awaited in flat config.

Creates an ESLint flat config using base and TypeScript rules. Shows both manual combination and async preset usage.

import { configs } from 'eslint-config-extreme'; export default [ ...configs.base, ...configs.typescript ]; // Or use a recommended preset (async): // export default await configs.recommended;
Debug
Known issues
breakingESM-only import: CommonJS require() throws ERR_REQUIRE_ESM.
fix
Use ESM ("type": "module" in package.json) or dynamic import().
affects: >=3.0.0
breakingFlat config only: ESLint <8.40 with rc configs will not work.
fix
Migrate to ESLint v8.40+ and use eslint.config.js.
affects: >=1.0.0
deprecatedconfigs.all is deprecated in favor of configs.recommendedAll.
fix
Replace .all with .recommendedAll.
affects: >=3.0.0
gotchaconfigs.recommended (and similar) are async; awaiting is required.
fix
Use await configs.recommended in your flat config export.
affects: >=1.0.0
gotchaTypeScript is a peer dependency; using TypeScript configs without installing typescript will fail.
fix
Install typescript: npm install -D typescript.
affects: >=1.0.0
Errors
Common errors & fixes
ERR_REQUIRE_ESM: require() of ES Module ... from ... not supported.
Trying to use require() on an ESM-only package.
fix
Add 'type': 'module' to package.json or use dynamic import('eslint-config-extreme').
Error [ERR_INVALID_ARG_TYPE]: The 'path' argument must be of type string. Received undefined
Using configs.recommended without awaiting; it returns a Promise.
fix
Use await configs.recommended in the flat config array.
Cannot find module 'eslint-config-extreme'
Package not installed or not in node_modules.
fix
Run npm install eslint-config-extreme --save-dev.
Parsing error: 'parserOptions.project' has been set for @typescript-eslint/parser. The file does not match your project config
TypeScript file excluded from tsconfig.json or missing tsconfig.
fix
Ensure all linted files are included in tsconfig.json or disable type-aware rules.
Upgrade
Version history
3.4.0latest on npm
Audit
Dependencies
eslintrequiredPeer dependency; the config requires ESLint v8.40+ (v9 flat config).
typescriptoptionalPeer dependency; TypeScript is always included in configs but not required for plain JS projects.
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-extreme — npm install eslint-config-extreme · libregistry