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 #3

Open
2 tasks done
RbAvci opened this issue May 4, 2024 · 0 comments
Open
2 tasks done

Format and lint code #3

RbAvci opened this issue May 4, 2024 · 0 comments

Comments

@RbAvci
Copy link
Owner

RbAvci commented May 4, 2024

From Full-Stack-Project-Assessment created by Dedekind561: CodeYourFuture#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
  • Code is lintted using eslint config .eslintrc

Guidance 🧭

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants