Skip to content

Format source code

Bash
npm run format:check   # Check formatting without modifying files
npm run format:write   # Apply formatting automatically
# or
task format
  • Formats .ts and .js files using Biome.
  • Format settings are configured in biome.json.

Formatting automatically adjusts the layout and style of your code (indentation, spacing, line breaks) to match consistent rules.

References

  • biome.json — Biome formatter configuration
  • package.json — npm scripts