@paleite/eslint-config
v2.0.1
Published
@paleite's ESLint config
Readme
@paleite/eslint-config
This package includes @paleite's shareable flat ESLint configuration.
Features
- Defines a base ruleset shared across projects
- Automatically adds React rules for projects that use React
- Automatically adds TypeScript rules for projects written in TypeScript
- Adds framework-specific rules for Cypress, Jest, Next.js, and Storybook
- Includes
eslint-config-prettierat the end of the config array
Installation
pnpm add -D @paleite/eslint-config eslint@^9Configuration
eslint.config.mjs:
import config from "@paleite/eslint-config";
export default [...config];TypeScript projects
This config uses projectService for typed linting. You typically do not need
parserOptions.project globs anymore.
If your repo requires custom tsconfig resolution, override parser options in your
own eslint.config.mjs after spreading @paleite/eslint-config.
