@apitree.cz/eslint-config
v2.2.2
Published
ESLint configuration for ApiTree projects.
Readme
ESLint Config
ESLint configuration for ApiTree projects
Installation
pnpm add --save-dev @apitree.cz/eslint-config eslintMonorepos
Install and use the package in the root only.
Usage
Use the base configuration in your repository's root eslint.config.js file.
Base
Suitable for general TypeScript projects.
export { base as default } from '@apitree.cz/eslint-config';Presets
For project-specific rules, install one of the scoped preset packages. Note that these presets must be used in conjunction with the base @apitree.cz/eslint-config package.
- React Preset (
@apitree.cz/eslint-config-react) - Next.js Preset (
@apitree.cz/eslint-config-nextjs) - NestJS Preset (
@apitree.cz/eslint-config-nestjs) - Storybook Preset (
@apitree.cz/eslint-config-storybook)
IntelliJ IDE Setup
Following IntelliJ IDEs setup is recommended for the best developer experience:
Recommended Values
✅ Automatic ESLint configuration
Run for files
{**/*,*}.{js,mdx,ts,tsx}