nebulaflow

Code Style

NebulaFlow follows a strict TypeScript style guide. Please adhere to the following:

TypeScript

Linting & Formatting

We use Biome for linting and formatting.

Biome Configuration

The project uses the following Biome rules (see biome.jsonc):

Architecture

NebulaFlow uses a Vertical Slice Architecture (VSA). Key slices:

Rule: Keep related code together. Avoid creating global utilities unless used by 3+ unrelated slices.

Additional Guidelines

Editor Configuration

The project includes VS Code settings in .vscode/. Recommended extensions:

Ensure your editor respects the project’s .editorconfig (if present) and Biome settings.

Pre‑commit Hooks

The repository uses husky and lint‑staged (if configured) to run checks before commits. If not, run npm run check manually before pushing.


Last Updated: 2026-01-21