Add Prettier configuration
Débutant
good first issuetype:devex
1 ★
Poids du clone léger
Mise à jour
Description
## Problem
We want to maintain a consistent code style without manually formatting files, but Prettier is not yet configured.
## Goal
Add Prettier and a configuration file to format our TypeScript, CSS, and Markdown files automatically.
## Where to Look
- The root of the repository.
## Suggested Approach
1. Install `prettier` as a dev dependency.
2. Create a `.prettierrc` file with basic rules (e.g., `semi: true`, `singleQuote: true`).
3. Add a `.prettierignore` file to ignore build artifacts.
4. Add a `format` script to `package.json`.
## Acceptance Criteria
- [ ] Prettier is installed.
- [ ] `.prettierrc` is defined.
- [ ] `npm run format` successfully formats all relevant files.
## Testing
Modify a file with bad spacing, run `npm run format`, and verify it is corrected.
## Difficulty
`Beginner`
Issues similaires
Tout voir
TypeScript
Débutant
[Good First Issue] 🐡 Add new Japan Fact 251 - Beginner-Friendly Open-source Contribution
## 🟢 Good First Issue: Add Japan Fact #251 — Beginner-Friendly Open Source Contribution ![Time: <1 minute](h…
Mise à jour
TypeScript
Débutant
Error bucketing
It would be great to bucket the errors in different types i.e. Code exception, configuration exception, envir…
Mise à jour
TypeScript
Débutant
LP lock links omit the /token|lp/ URL segment, causing wrong-type lookups on the detail page
## Summary Lock detail links should include the lock's kind in the URL, e.g. `/app/lock/lp/:id` or `/app/loc…
Mise à jour