CodeYourFuture / CodeYourFuture/Full-Stack-Project-Assessment

Format and lint code

Open
#481 0 comments 0 reactions 0 assignees View on GitHub
🏝️ Priority Stretch 📅 Week 1
Dominant language
JavaScript
Stars
9
Forks
352
PR merge metrics
No merged PRs in 30d

Description

## 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](https://github.com/CodeYourFuture/Full-Stack-Project-Assessment/tree/main/guides/code-quality) for steps on how to format and form

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.