Sensors Computacionais
Checks determinísticos executados em milissegundos. Sem inferência de IA.
Por projeto
atenvi-ui, atenvi-admin, atenvi-web (Next.js/TypeScript)
| Sensor |
Ferramenta |
Quando |
| Type check |
tsc --noEmit |
pre-commit + CI |
| Lint |
ESLint + eslint-config-next |
pre-commit + CI |
| Format |
Prettier |
pre-commit (auto-fix) |
| Unit/Integration |
Vitest |
CI (PR) |
| E2E |
Playwright |
CI (merge main) |
| Build check |
next build |
CI (PR) |
atenvi-bff (NestJS/TypeScript)
| Sensor |
Ferramenta |
Quando |
| Type check |
tsc --noEmit |
pre-commit + CI |
| Lint |
ESLint + @typescript-eslint |
pre-commit + CI |
| Format |
Prettier |
pre-commit (auto-fix) |
| Unit/Integration |
Vitest |
CI (PR) |
| Build check |
nest build |
CI (PR) |
atenvi-ui (adicional)
| Sensor |
Ferramenta |
Quando |
| Storybook build |
storybook build |
CI (PR) |
| Interaction tests |
@storybook/test |
CI (PR) |
Pre-commit hook
Usar husky + lint-staged em todos os projetos:
{
"lint-staged": {
"*.{ts,tsx}": ["eslint --fix", "prettier --write"],
"*.{json,md,css}": ["prettier --write"]
}
}
CI — GitHub Actions (pipeline mínimo)
on: pull_request
jobs:
check:
steps:
- typecheck
- lint
- test (vitest)
- build
on: push (main)
jobs:
e2e:
steps:
- playwright