-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
π 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