Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format and lint code #481

Open
2 tasks
Dedekind561 opened this issue Apr 9, 2024 · 0 comments
Open
2 tasks

Format and lint code #481

Dedekind561 opened this issue Apr 9, 2024 · 0 comments
Labels
🏝️ Priority Stretch 📅 Week 1 Assigned during Week 1 of this module

Comments

@Dedekind561
Copy link
Contributor

Dedekind561 commented Apr 9, 2024

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
  • Code is lintted using eslint config .eslintrc

Guidance 🧭

Check the code quality guide for steps on how to format and form

@Dedekind561 Dedekind561 changed the title [TECH ED] Levels 300 Format and lint code Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏝️ Priority Stretch 📅 Week 1 Assigned during Week 1 of this module
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant