eslint-config-acme

raw JSON →
4.0.0 verified Sat Apr 25 auth: no javascript

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).

error Error: Could not find config 'eslint-config-acme/base'
cause Version 4 uses subpath exports; older versions don't have 'base' export.
fix
Update to v4.0.0+ and use the new import path.
error Cannot find module 'eslint-plugin-import'
cause eslint-plugin-import was replaced by eslint-plugin-import-x in v4.
fix
Install eslint-plugin-import-x and remove eslint-plugin-import.
error Parsing error: The keyword 'const' is reserved
cause ESLint config file is not using ES modules or is not properly configured.
fix
Use .mjs extension or set 'type': 'module' in package.json.
breaking Version 4.0.0 drops support for ESLint legacy config format; only flat config is supported.
fix Migrate to ESLint flat config (eslint.config.*). Pin to v3.x if legacy config is required.
breaking Version 4.0.0 requires ESLint 9 or 10; older ESLint versions will not work.
fix Update ESLint to ^9 || ^10.
breaking Version 4.0.0 replaces eslint-plugin-import with eslint-plugin-import-x; existing import rule configurations may break.
fix Remove eslint-plugin-import and its configurations. Use eslint-plugin-import-x instead.
breaking Version 3.0.1 replaced eslint-plugin-simple-import-sort with @ianvs/prettier-plugin-sort-imports; import sorting now handled by Prettier plugin.
fix Remove simple-import-sort configuration; sorting is done via Prettier.
breaking Version 2.0.0 removed the '@' alias causing import sorting issues; use 'src' or '~' aliases instead.
fix Update project alias to 'src' or '~'.
deprecated Using eslint-config-acme with legacy .eslintrc config is deprecated; flat config is the only format supported since v4.
fix Switch to flat config format (eslint.config.*).
npm install eslint-config-acme
yarn add eslint-config-acme
pnpm add eslint-config-acme

Sets up ESLint flat config with both base (JS) and TypeScript configs from eslint-config-acme.

// eslint.config.mjs
import { base, typescript } from 'eslint-config-acme';
import { defineConfig } from 'eslint/config';

const config = defineConfig([
  base,
  typescript,
  // ...other configs
]);

export default config;