Shareable ESLint config presets from Enormora.
The config presets are distributed in multiple packages and only work with the new flat config system of ESLint.
Enormora provides a collection of shareable ESLint config presets to cater to various project types and requirements. Choose the configuration that best aligns with your project's needs for seamless linting and consistent coding styles.
The base preset is deliberately environment-, framework-, and library-agnostic: it enables only rules that hold for any ESM project. Any rule whose correctness depends on a specific runtime, framework, test runner, or library lives in the matching preset (node, react, vue-ts, mocha, ava, vitest, aws-cdk, …) so it applies only where that dependency is actually present.
| Package | Version | Description |
|---|---|---|
@enormora/eslint-config-base |
Base config, environment-, framework-, and library-agnostic. Uses dprint for formatting. | |
@enormora/eslint-config-base-with-prettier |
Alternative base config that uses prettier instead of dprint. Pick one of the two base presets. | |
@enormora/eslint-config-node |
Config with Node.js specific rules. | |
@enormora/eslint-config-typescript |
Config with TypeScript specific rules. | |
@enormora/eslint-config-node-assert |
Config with Node.js node:assert rules. |
|
@enormora/eslint-config-ava |
Config with ava specific rules. |
|
@enormora/eslint-config-ava-node-assert |
Config with ava and Node.js node:assert rules. |
|
@enormora/eslint-config-mocha |
Config with mocha specific rules. |
|
@enormora/eslint-config-mocha-node-assert |
Config with mocha and Node.js node:assert rules. |
|
@enormora/eslint-config-browser |
Config with browser-specific rules. | |
@enormora/eslint-config-react |
Config with react specific rules. |
|
@enormora/eslint-config-react-jsx |
Adds JSX support for react. |
|
@enormora/eslint-config-react-tsx |
Adds JSX support for react and typescript. |
|
@enormora/eslint-config-vue-ts |
Config with vue together with typescript. |
|
@enormora/eslint-config-astro |
Config with astro. |
|
@enormora/eslint-config-astro-ts |
Config with astro together with typescript. |
|
@enormora/eslint-config-vitest |
Config with vitest. |
|
@enormora/eslint-config-vitest-node-assert |
Config with vitest and Node.js node:assert rules. |
|
@enormora/eslint-config-aws-cdk |
Config for AWS CDK projects. | |
@enormora/eslint-config-eslint-plugin |
Config for projects that author ESLint plugins or rules. | |
@enormora/eslint-config-zod |
Config for Zod that enforces the usage of Zod Mini (zod/mini) and Zod core (zod/v4/core). |