Skip to content

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 .ts and .js files 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 configuration
  • package.json — npm scripts