{"id":19475,"library":"eslint-config-acme","title":"eslint-config-acme","description":"Shareable ESLint + Prettier config for React projects. Current stable version is 4.0.0, requiring ESLint 9+ and using the new flat config format (legacy format dropped). It bundles a curated set of plugins including React, JSX a11y, import sorting, and TypeScript support via typescript-eslint. Differentiators include integrated Prettier with sorting plugins, minimal configuration overhead, and both base (JS) and typescript config exports. Release cadence is irregular; major versions introduce breaking changes (ESLint version bumps).","status":"active","version":"4.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/mryechkin/eslint-config-acme","tags":["javascript","eslint","eslintconfig","config","prettier"],"install":[{"cmd":"npm install eslint-config-acme","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-acme","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-acme","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core linting tool, peer dependency","package":"eslint","optional":false},{"reason":"Disables ESLint rules that conflict with Prettier","package":"eslint-config-prettier","optional":false},{"reason":"Resolves TypeScript imports","package":"eslint-import-resolver-typescript","optional":false},{"reason":"Import rules (replaces eslint-plugin-import)","package":"eslint-plugin-import-x","optional":false},{"reason":"Accessibility rules for JSX","package":"eslint-plugin-jsx-a11y","optional":false},{"reason":"React-specific linting rules","package":"eslint-plugin-react","optional":false},{"reason":"React Hooks linting rules","package":"eslint-plugin-react-hooks","optional":false},{"reason":"Sorts destructure keys","package":"eslint-plugin-sort-destructure-keys","optional":false},{"reason":"Code formatter","package":"prettier","optional":false},{"reason":"Sorts imports with Prettier","package":"@ianvs/prettier-plugin-sort-imports","optional":false},{"reason":"Sorts package.json keys with Prettier","package":"prettier-plugin-packagejson","optional":false},{"reason":"Required for TypeScript config","package":"typescript-eslint","optional":true},{"reason":"Sorts Tailwind CSS classes with Prettier","package":"prettier-plugin-tailwindcss","optional":true},{"reason":"Backwards compatibility with legacy plugins","package":"@eslint/compat","optional":false}],"imports":[{"note":"ESM-only since v4.0.0","wrong":"const base = require('eslint-config-acme/base')","symbol":"base","correct":"import base from 'eslint-config-acme/base'"},{"note":"Must use named import from the package or separate subpath import","wrong":"import typescript from 'eslint-config-acme'","symbol":"typescript","correct":"import typescript from 'eslint-config-acme/typescript'"},{"note":"Case-sensitive; lowercase export names","wrong":"import { Base, TypeScript } from 'eslint-config-acme'","symbol":"base, typescript","correct":"import { base, typescript } from 'eslint-config-acme'"}],"quickstart":{"code":"// eslint.config.mjs\nimport { base, typescript } from 'eslint-config-acme';\nimport { defineConfig } from 'eslint/config';\n\nconst config = defineConfig([\n  base,\n  typescript,\n  // ...other configs\n]);\n\nexport default config;","lang":"javascript","description":"Sets up ESLint flat config with both base (JS) and TypeScript configs from eslint-config-acme."},"warnings":[{"fix":"Migrate to ESLint flat config (eslint.config.*). Pin to v3.x if legacy config is required.","message":"Version 4.0.0 drops support for ESLint legacy config format; only flat config is supported.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Update ESLint to ^9 || ^10.","message":"Version 4.0.0 requires ESLint 9 or 10; older ESLint versions will not work.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Remove eslint-plugin-import and its configurations. Use eslint-plugin-import-x instead.","message":"Version 4.0.0 replaces eslint-plugin-import with eslint-plugin-import-x; existing import rule configurations may break.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Remove simple-import-sort configuration; sorting is done via Prettier.","message":"Version 3.0.1 replaced eslint-plugin-simple-import-sort with @ianvs/prettier-plugin-sort-imports; import sorting now handled by Prettier plugin.","severity":"breaking","affected_versions":">=3.0.1"},{"fix":"Update project alias to 'src' or '~'.","message":"Version 2.0.0 removed the '@' alias causing import sorting issues; use 'src' or '~' aliases instead.","severity":"breaking","affected_versions":">=2.0.0 <4.0.0"},{"fix":"Switch to flat config format (eslint.config.*).","message":"Using eslint-config-acme with legacy .eslintrc config is deprecated; flat config is the only format supported since v4.","severity":"deprecated","affected_versions":">=4.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Update to v4.0.0+ and use the new import path.","cause":"Version 4 uses subpath exports; older versions don't have 'base' export.","error":"Error: Could not find config 'eslint-config-acme/base'"},{"fix":"Install eslint-plugin-import-x and remove eslint-plugin-import.","cause":"eslint-plugin-import was replaced by eslint-plugin-import-x in v4.","error":"Cannot find module 'eslint-plugin-import'"},{"fix":"Use .mjs extension or set 'type': 'module' in package.json.","cause":"ESLint config file is not using ES modules or is not properly configured.","error":"Parsing error: The keyword 'const' is reserved"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}