{"id":27721,"library":"eslint-config-extreme","title":"ESLint Config Extreme","description":"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.","status":"active","version":"3.4.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","eslint","eslintplugin","eslint-config","typescript","oxlint","biomejs"],"install":[{"cmd":"npm install eslint-config-extreme","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-extreme","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-extreme","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; the config requires ESLint v8.40+ (v9 flat config).","package":"eslint","optional":false},{"reason":"Peer dependency; TypeScript is always included in configs but not required for plain JS projects.","package":"typescript","optional":true}],"imports":[{"note":"ESM-only package; require() will fail. Use dynamic import or ESM context.","wrong":"const { configs } = require('eslint-config-extreme')","symbol":"configs","correct":"import { configs } from 'eslint-config-extreme'"},{"note":"Named export from root only; subpath exports are not supported.","wrong":"import base from 'eslint-config-extreme/base'","symbol":"configs.base","correct":"import { configs } from 'eslint-config-extreme'; ...configs.base"},{"note":"configs.recommended (and similar) return a Promise; must be awaited in flat config.","wrong":"export default configs.recommended","symbol":"configs.recommended","correct":"import { configs } from 'eslint-config-extreme'; export default await configs.recommended"}],"quickstart":{"code":"import { configs } from 'eslint-config-extreme';\n\nexport default [\n  ...configs.base,\n  ...configs.typescript\n];\n\n// Or use a recommended preset (async):\n// export default await configs.recommended;","lang":"javascript","description":"Creates an ESLint flat config using base and TypeScript rules. Shows both manual combination and async preset usage."},"warnings":[{"fix":"Use ESM (\"type\": \"module\" in package.json) or dynamic import().","message":"ESM-only import: CommonJS require() throws ERR_REQUIRE_ESM.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Migrate to ESLint v8.40+ and use eslint.config.js.","message":"Flat config only: ESLint <8.40 with rc configs will not work.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Replace .all with .recommendedAll.","message":"configs.all is deprecated in favor of configs.recommendedAll.","severity":"deprecated","affected_versions":">=3.0.0"},{"fix":"Use await configs.recommended in your flat config export.","message":"configs.recommended (and similar) are async; awaiting is required.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Install typescript: npm install -D typescript.","message":"TypeScript is a peer dependency; using TypeScript configs without installing typescript will fail.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Add 'type': 'module' to package.json or use dynamic import('eslint-config-extreme').","cause":"Trying to use require() on an ESM-only package.","error":"ERR_REQUIRE_ESM: require() of ES Module ... from ... not supported."},{"fix":"Use await configs.recommended in the flat config array.","cause":"Using configs.recommended without awaiting; it returns a Promise.","error":"Error [ERR_INVALID_ARG_TYPE]: The 'path' argument must be of type string. Received undefined"},{"fix":"Run npm install eslint-config-extreme --save-dev.","cause":"Package not installed or not in node_modules.","error":"Cannot find module 'eslint-config-extreme'"},{"fix":"Ensure all linted files are included in tsconfig.json or disable type-aware rules.","cause":"TypeScript file excluded from tsconfig.json or missing tsconfig.","error":"Parsing error: 'parserOptions.project' has been set for @typescript-eslint/parser. The file does not match your project config"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}