-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or requestjiraThis task is referenced in a story of JiraThis task is referenced in a story of Jiranon-closableThis task is exempt from becoming stale or automatically closed.This task is exempt from becoming stale or automatically closed.
Description
Describe the solution you'd like
We want to follow the best practices and achieve a higher code quality by using the following automatic tools:
- ESLint: A tool for identifying and reporting on patterns found in JS/TS code.
- Prettier: An opinionated code formatter that enforces a consistent style by parsing code and reprinting it.
- Husky: A tool that allows running scripts at various stages of the Git lifecycle, ensuring quality checks are performed before commits.
- lint-staged: A tool that runs linters on staged files, ensuring only the relevant files are checked during commits.
Describe alternatives you've considered
- Manual Code Reviews: Relying solely on manual code reviews for enforcing coding standards. However, this can be time-consuming and prone to human error.
- Other Linting Tools: Considering alternatives such as JSHint or TSLint. ESLint was chosen due to its wide adoption and flexibility.
- Pre-commit Scripts Without Husky: Implementing custom pre-commit scripts without using Husky. While possible, Husky simplifies the setup and maintenance of Git hooks.
Additional context
For more information, there is a DSDR called "Code and commit quality improvement" in Halstack Wiki
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestjiraThis task is referenced in a story of JiraThis task is referenced in a story of Jiranon-closableThis task is exempt from becoming stale or automatically closed.This task is exempt from becoming stale or automatically closed.