Pular para o conteúdo

Convenções de Desenvolvimento

Seção intitulada “Conventions reduce ambiguity in legal-domain software”

Leci conventions are designed to keep legal data handling predictable while preserving contributor velocity.

  • TypeScript strict mode is required.
  • Prefer explicit types in domain-critical code paths.
  • Use kebab-case for file names.
  • Use PascalCase for React components.
  • Keep database naming aligned with existing schema patterns.

The legal text mutation path is constrained by invariant:

  • Branch naming: feat/SEN-XXX-description
  • Commit messages should include SEN-XXX
  • PR target branch: main
  • Clearly separate implemented behavior from planned behavior.
  • Mark roadmap-only scope with planned-feature callouts.
  • Keep en-US and pt-BR pages in structural parity.