Open mauricenyanja opened 1 year ago
Hello. @mauricenyanja Is this issue already resolved? Or it's the prettier configuration remaining?
Hello @MugoBrian I overlooked prettier as I was making it as I go I prefer u do it then if u have a good way to implement this prettier I just did Linter
Hello @mauricenyanja . I am working on this task. I have self assigned this issue.
Advantages
Eslint: This tool will help you catch and fix problems in your JavaScript/TypeScript code. It checks for common syntax and style errors, making your code more consistent and easy to understand. Prettier: This is an opinionated code formatter. It enforces a consistent style by parsing your code and reprinting it with its own rules. This eliminates all original styling and guarantees consistency. Husky: This tool improves your commits and more. It allows you to run scripts (like linting or tests) before committing your code, ensuring only quality code gets committed. Lint-Staged: When combined with Husky, it allows you to run linters on staged changes only, making the process faster and more efficient.
u can use this as a reference