Skip to content

eslint-config — Optimization

Use nexloadConfig with the options for the project runtime. Compose exported presets when explicit ordering is needed.

Use the shared base rules for type-aware checks and inline type imports.

The base configuration uses TypeScript project service for type-aware linting. Ensure the project has a suitable TypeScript configuration.

Pass custom rules or ignores as additional arguments to nexloadConfig, or compose the exported preset arrays in the order needed.

Package guidance · Implementation.