Team-folio / TeamFolio

This is the working url for our MVP
https://team-folio.vercel.app/
4 stars 12 forks source link

Create Eslint, Prettier, Husky & Lint-Staged #1

Open mauricenyanja opened 1 year ago

mauricenyanja commented 1 year ago

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

MugoBrian commented 1 year ago

Hello. @mauricenyanja Is this issue already resolved? Or it's the prettier configuration remaining?

mauricenyanja commented 1 year ago

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

MugoBrian commented 1 year ago

Hello @mauricenyanja . I am working on this task. I have self assigned this issue.