From Full-Stack-Project-Assessment created by Dedekind561: CodeYourFuture/Full-Stack-Project-Assessment#481
Description
It is a good idea to make sure that your code is formatted based on a single standard throughout your project. There are two packages that can usually help you with that:
prettier is a formatter that makes sure that your code is formatted the same way throughout. For example all files use tab characters for indenting.
eslint is a linter that checks the code for common coding mistakes and warns you if it encounters any of them. It can also automatically fix some mistakes.
Acceptance criteria
[ ] Code is formatted using prettier config .prettierrc
Hey @HadikaMalik and @fhkahin I have installed prettier and linter to project. Please update your local before working. I am moving this ticket to done.
From Full-Stack-Project-Assessment created by Dedekind561: CodeYourFuture/Full-Stack-Project-Assessment#481
Description
It is a good idea to make sure that your code is formatted based on a single standard throughout your project. There are two packages that can usually help you with that:
prettier
is a formatter that makes sure that your code is formatted the same way throughout. For example all files usetab
characters for indenting.eslint
is a linter that checks the code for common coding mistakes and warns you if it encounters any of them. It can also automatically fix some mistakes.Acceptance criteria
.prettierrc
.eslintrc
Guidance ðŸ§
Check the code quality guide for steps on how to format and form