- ✅ 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
38 lines
1.6 KiB
Markdown
38 lines
1.6 KiB
Markdown
# @eslint-community/eslint-utils
|
|
|
|
[](https://www.npmjs.com/package/@eslint-community/eslint-utils)
|
|
[](http://www.npmtrends.com/@eslint-community/eslint-utils)
|
|
[](https://github.com/eslint-community/eslint-utils/actions)
|
|
[](https://codecov.io/gh/eslint-community/eslint-utils)
|
|
|
|
## 🏁 Goal
|
|
|
|
This package provides utility functions and classes for make ESLint custom rules.
|
|
|
|
For examples:
|
|
|
|
- [`getStaticValue`](https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue) evaluates static value on AST.
|
|
- [`ReferenceTracker`](https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class) checks the members of modules/globals as handling assignments and destructuring.
|
|
|
|
## 📖 Usage
|
|
|
|
See [documentation](https://eslint-community.github.io/eslint-utils).
|
|
|
|
## 📰 Changelog
|
|
|
|
See [releases](https://github.com/eslint-community/eslint-utils/releases).
|
|
|
|
## ❤️ Contributing
|
|
|
|
Welcome contributing!
|
|
|
|
Please use GitHub's Issues/PRs.
|
|
|
|
### Development Tools
|
|
|
|
- `npm run test-coverage` runs tests and measures coverage.
|
|
- `npm run clean` removes the coverage result of `npm run test-coverage` command.
|
|
- `npm run coverage` shows the coverage result of the last `npm run test-coverage` command.
|
|
- `npm run lint` runs ESLint.
|
|
- `npm run watch` runs tests on each file change.
|