You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: