Lint source code¶
Bash
npm run lint:check # Check for lint errors without modifying files
npm run lint:fix # Apply auto-fixes automatically
# or
task lint
- Lints
.tsand.jsfiles using Biome. - Lint settings are configured in
biome.json.
Linting automatically checks source code for potential errors or bad practices. If lint errors are found, they are displayed in the console and the command exits with a non-zero code.
References¶
biome.json— Biome linter configurationpackage.json— npm scripts
Related¶
- Formatter — Format code with Biome
- Build — Type-check TypeScript
- Style Guide — Code style preferences