Skip to content

Repository files navigation

Enormora’s ESLint Configurations

CI

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.

Presets Overview

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.

Scope of the base preset

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 npm Base config, environment-, framework-, and library-agnostic. Uses dprint for formatting.
@enormora/eslint-config-base-with-prettier npm Alternative base config that uses prettier instead of dprint. Pick one of the two base presets.
@enormora/eslint-config-node npm Config with Node.js specific rules.
@enormora/eslint-config-typescript npm Config with TypeScript specific rules.
@enormora/eslint-config-node-assert npm Config with Node.js node:assert rules.
@enormora/eslint-config-ava npm Config with ava specific rules.
@enormora/eslint-config-ava-node-assert npm Config with ava and Node.js node:assert rules.
@enormora/eslint-config-mocha npm Config with mocha specific rules.
@enormora/eslint-config-mocha-node-assert npm Config with mocha and Node.js node:assert rules.
@enormora/eslint-config-browser npm Config with browser-specific rules.
@enormora/eslint-config-react npm Config with react specific rules.
@enormora/eslint-config-react-jsx npm Adds JSX support for react.
@enormora/eslint-config-react-tsx npm Adds JSX support for react and typescript.
@enormora/eslint-config-vue-ts npm Config with vue together with typescript.
@enormora/eslint-config-astro npm Config with astro.
@enormora/eslint-config-astro-ts npm Config with astro together with typescript.
@enormora/eslint-config-vitest npm Config with vitest.
@enormora/eslint-config-vitest-node-assert npm Config with vitest and Node.js node:assert rules.
@enormora/eslint-config-aws-cdk npm Config for AWS CDK projects.
@enormora/eslint-config-eslint-plugin npm Config for projects that author ESLint plugins or rules.
@enormora/eslint-config-zod npm Config for Zod that enforces the usage of Zod Mini (zod/mini) and Zod core (zod/v4/core).

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages