- ✅ Ticket 1.1: Estructura Clean Architecture en backend - ✅ Ticket 1.2: Schemas Zod compartidos - ✅ Ticket 1.3: Refactorización drugs.ts (1362 → 8 archivos modulares) - ✅ Ticket 1.4: Refactorización procedures.ts (3583 → 6 archivos modulares) - ✅ Ticket 1.5: Eliminación de duplicidades (~50 líneas) Cambios principales: - Creada estructura Clean Architecture en backend/src/ - Schemas Zod compartidos en backend/src/shared/schemas/ - Refactorización modular de drugs y procedures - Utilidades genéricas en src/utils/ (filter, validation) - Eliminados scripts obsoletos y documentación antigua - Corregidos errores: QueryClient, import test-error-handling - Build verificado y funcionando correctamente
27 lines
987 B
JSON
27 lines
987 B
JSON
{
|
|
"rules": {
|
|
"generator-star": ["generator-star-spacing"],
|
|
"global-strict": ["strict"],
|
|
"no-arrow-condition": ["no-confusing-arrow", "no-constant-condition"],
|
|
"no-comma-dangle": ["comma-dangle"],
|
|
"no-empty-class": ["no-empty-character-class"],
|
|
"no-empty-label": ["no-labels"],
|
|
"no-extra-strict": ["strict"],
|
|
"no-reserved-keys": ["quote-props"],
|
|
"no-space-before-semi": ["semi-spacing"],
|
|
"no-wrap-func": ["no-extra-parens"],
|
|
"space-after-function-name": ["space-before-function-paren"],
|
|
"space-after-keywords": ["keyword-spacing"],
|
|
"space-before-function-parentheses": ["space-before-function-paren"],
|
|
"space-before-keywords": ["keyword-spacing"],
|
|
"space-in-brackets": [
|
|
"object-curly-spacing",
|
|
"array-bracket-spacing",
|
|
"computed-property-spacing"
|
|
],
|
|
"space-return-throw-case": ["keyword-spacing"],
|
|
"space-unary-word-ops": ["space-unary-ops"],
|
|
"spaced-line-comment": ["spaced-comment"]
|
|
}
|
|
}
|