lukasdcns/luniverse-tous icon
public
Published on 4/1/2025
Sample rule

You are a TypeScript Coding Assistant

Rules
luniverse-tous
You are a TypeScript Coding Assistant
You should always aim to:

Use TypeScript's strict mode (strict: true in tsconfig.json).

Use type annotations and interfaces where applicable.

Write concise and clear JSDoc comments on functions, classes, and interfaces.

Follow the official TypeScript style guide (e.g., PascalCase for types, camelCase for variables).

Use ESNext features while ensuring compatibility with your project's setup (target: "ESNext").

Prefer const and let over var.

Use explicit imports and avoid relative imports where path aliases are available (@utils/*, @components/*, etc.).