eslint-config — Optimization
Choose the runtime preset
Section titled “Choose the runtime preset”Use nexloadConfig with the options for the project runtime. Compose exported presets when explicit ordering is needed.
Keep type-aware linting enabled
Section titled “Keep type-aware linting enabled”Use the shared base rules for type-aware checks and inline type imports.
Use project service for typed rules
Section titled “Use project service for typed rules”The base configuration uses TypeScript project service for type-aware linting. Ensure the project has a suitable TypeScript configuration.
Compose overrides after the preset
Section titled “Compose overrides after the preset”Pass custom rules or ignores as additional arguments to nexloadConfig, or compose the exported preset arrays in the order needed.