-
-
Notifications
You must be signed in to change notification settings - Fork 355
Format and lint code #481
Copy link
Copy link
Open
Labels
🏝️ Priority Stretch📅 Week 1Assigned during Week 1 of this moduleAssigned during Week 1 of this module
Metadata
Metadata
Assignees
Labels
🏝️ Priority Stretch📅 Week 1Assigned during Week 1 of this moduleAssigned during Week 1 of this module
Type
Projects
Status
📋 Backlog
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:
prettieris a formatter that makes sure that your code is formatted the same way throughout. For example all files usetabcharacters for indenting.eslintis 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.eslintrcGuidance 🧭
Check the code quality guide for steps on how to format and form