Linting & Formatting
Linting & Formatting
Section titled “Linting & Formatting”Rhyolite enforces strict code quality with modern linting and formatting tools.
Linting
Section titled “Linting”- Uses ESLint for JavaScript/TypeScript
- Run all linters:
Terminal window pnpm lint
Formatting
Section titled “Formatting”- Uses Prettier for consistent code style
- Format all code:
Terminal window pnpm format
Best Practices
Section titled “Best Practices”- Fix lint errors before committing
- Use pre-commit hooks for auto-formatting