Getting Started
Version 1 is a DX-first, composable ESLint 9/10+ flat-config toolkit for JavaScript and TypeScript teams. The main entry point is @santi020k/eslint-config-basic, and framework support is added through explicit framework package imports.
Requirements
Section titled “Requirements”- Node.js
>=22.18.0 - ESLint
9+
Install the Base Package
Section titled “Install the Base Package”The smallest install is the main package itself. It already brings a supported ESLint version.
pnpm add -D @santi020k/eslint-config-basicnpm install -D @santi020k/eslint-config-basicyarn add -D @santi020k/eslint-config-basicbun add -d @santi020k/eslint-config-basicCreate an eslint.config.mjs file, or eslint.config.js if your project uses "type": "module".
import { eslintConfig } from '@santi020k/eslint-config-basic'
export default eslintConfig()Understand the Package Layout
Section titled “Understand the Package Layout”@santi020k/eslint-config-basicis the main package.- Framework packages such as React, Next.js, Astro, Vue, and NestJS are installed only when needed.
- Optional integrations are enabled through enums from the main package.
- ESLint can still be installed manually if you want to pin it yourself, as long as you stay on a compatible
^9or^10release.
Choose Your Workflow
Section titled “Choose Your Workflow”- Use the base package alone for core JavaScript, TypeScript, runtime detection, and optional integrations.
- Add framework packages like React, Next.js, Astro, or Vue when your project needs them, then pass those imports in
frameworks. - Use the CLI if you want a scaffolded config with detected integrations.
Pick the Right Starting Point
Section titled “Pick the Right Starting Point”- Use Configuration when you want to compose the config manually.
- Use CLI when you want a generated starting file.
- Use Frameworks when you already know the application stack.
- Use Integrations when the main need is integrating Tailwind, Vitest, Prettier, Markdown, Unicorn, or similar packages.
- Use Packages when you want to understand how the monorepo is organized.
Canonical Package Entry Points
Section titled “Canonical Package Entry Points”- Main package:
@santi020k/eslint-config-basic - Repo: santi020k/eslint-config-basic
- Author: santi020k
Next Steps
Section titled “Next Steps”- Continue with Installation
- Review Configuration
- Use CLI if you want scaffolding
- Jump to Framework Guides
Did this page help?
One click helps us spot documentation that needs another pass. No personal data is sent.