Marketplace
Paquete de reglasGratis

Code style rules

de Ingot Editor verificado

The seven rules Habits writes for you, as one always-on rules file.

Instalar abre Ingot y lo añade.

¿Necesitas la app? Descargar Ingot

Acerca de

The same rule sentences Habits proposes when you keep rejecting a style, in one rules file you can add up front. Save it in .ingot/rules and Ingot includes it in every agent chat (alwaysApply). Commit it and your whole team gets the same rules.

Lo más destacado

  • A plain .mdc file in .ingot/rules, easy to edit
  • alwaysApply: included in every agent chat
  • Commit it to share it with your team

Qué incluye

.ingot/rules/code-style.mdc
---
description: Code style rules from Ingot Habits
alwaysApply: true
---
- Do not add console.log or console.debug calls.
- Do not use the TypeScript any type; use precise types.
- Use named exports, not default exports.
- Use const or let, never var.
- Do not use inline styles; use CSS classes and design tokens.
- Do not leave TODO or FIXME comments; finish the work instead.
- Prefer arrow functions (const name = () => …) over function declarations.

Instalar a mano

  1. In your project, create .ingot/rules/code-style.mdc.
  2. Paste the file below and save.
  3. Ingot picks it up in the next agent chat. Commit it to share it.