linters/auto
Lints the project with whichever linter the project configures: ESLint or Biome.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| LintOptions | Parameters for the lint function. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| detectLinter | Chooses the linter from the configuration files at the project root. An eslint.config.* file wins, so a project that formats with Biome and lints with ESLint gets ESLint. Otherwise a biome.json / biome.jsonc picks Biome, and a project with neither gets ESLint, as before Biome was supported. |
| lint | Lints the project with its linter. |
| Type | Description |
|---|---|
| Linter | A linter the toolkit runs. |