Skip to content

Lite Package

Package: @santi020k/eslint-config-lite

This package is the opt-in lightweight entry point for projects that want to manage framework and integration config packages manually.

Use @santi020k/eslint-config-basic by default. It installs the full tested stack and is the simplest path for most projects.

Use @santi020k/eslint-config-lite when install size or dependency ownership matters more than one-command setup. The lite package installs the core composer and TypeScript support, then lazy-loads framework and integration config packages only after you install and enable them.

OptionBest ForDependency Model
@santi020k/eslint-config-basicMost application projectsFull tested stack is installed together.
@santi020k/eslint-config-liteDependency-sensitive projects and tight CI cachesCore composer by default; framework and integration config packages are manual.
Individual @santi020k/eslint-config-* packagesAdvanced custom compositionYou assemble imported configs yourself.

These are direct package-manifest counts, not a package-manager-specific transitive install measurement.

PackageDirect DependenciesPeer DependenciesOptional Peers
@santi020k/eslint-config-basic2221
@santi020k/eslint-config-lite32120
@santi020k/eslint-config-integrations5176
pnpm
pnpm add -D @santi020k/eslint-config-lite eslint
npm
npm install -D @santi020k/eslint-config-lite eslint
yarn
yarn add -D @santi020k/eslint-config-lite eslint
bun
bun add -d @santi020k/eslint-config-lite eslint
import { defineConfig } from '@santi020k/eslint-config-lite'
export default await defineConfig()

Install the lite package plus the framework config package you enable:

pnpm
pnpm add -D @santi020k/eslint-config-lite @santi020k/eslint-config-react eslint
import { defineConfig } from '@santi020k/eslint-config-lite'
export default await defineConfig({
frameworks: {
react: true
}
})

Auto-detection can also enable detected frameworks. With the lite package, detected frameworks must still be installed as config packages.

Install @santi020k/eslint-config-integrations when you enable libraries, testing tools, formats, tools, or extension integrations:

pnpm
pnpm add -D @santi020k/eslint-config-lite @santi020k/eslint-config-integrations eslint
import { defineConfig, Testing, Tool } from '@santi020k/eslint-config-lite'
export default await defineConfig({
testing: [Testing.Vitest],
tools: [Tool.Prettier]
})

The integrations package keeps its own tested dependency set. The lite package avoids installing it until your project opts into integrations.

Preset.All enables every optional integration. With the lite package, that means you must install @santi020k/eslint-config-integrations. Use it for audits and evaluation, not as the usual long-term lite setup.

If a framework or integration package is enabled but not installed, the lite package throws an install-focused error naming the missing optional package. Install that package or remove the selected feature.

You can also run basic-eslint doctor in a project that imports @santi020k/eslint-config-lite; it warns when detected frameworks or integrations do not have their matching manual config packages declared.

Terminal window
basic-eslint doctor --lite-install

Use --lite-install to print the package-manager-specific install command for the current project.

Did this page help?

One click helps us spot documentation that needs another pass. No personal data is sent.