Convenções de Desenvolvimento
Convenções de Desenvolvimento
Seção intitulada “Convenções de Desenvolvimento”Conventions reduce ambiguity in legal-domain software
Seção intitulada “Conventions reduce ambiguity in legal-domain software”Leci conventions are designed to keep legal data handling predictable while preserving contributor velocity.
Language and typing conventions
Seção intitulada “Language and typing conventions”- TypeScript strict mode is required.
- Prefer explicit types in domain-critical code paths.
Naming conventions
Seção intitulada “Naming conventions”- Use
kebab-casefor file names. - Use
PascalCasefor React components. - Keep database naming aligned with existing schema patterns.
Data integrity conventions
Seção intitulada “Data integrity conventions”The legal text mutation path is constrained by invariant:
Workflow conventions
Seção intitulada “Workflow conventions”- Branch naming:
feat/SEN-XXX-description - Commit messages should include
SEN-XXX - PR target branch:
main
Documentation conventions
Seção intitulada “Documentation conventions”- 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.