kentcdodds / kentcdodds/kcd-scripts
check prettier formatting in validate script
Open
- Dominant language
- JavaScript
- Stars
- 889
- Forks
- 205
- PR merge metrics
- No merged PRs in 30d
Description
Without this, formatting is not checked in CI and only applied if the precommit hooks are installed, which is optional
Options:
- Add `prettier --list-different` to validate command
- Integrate prettier rules into ESLint (probably preferred for JS)
Contributor guide
Research direction
Start by locating the validate command and reviewing how the optional precommit hooks currently apply formatting. Compare the two proposed approaches—adding prettier --list-different or integrating prettier rules into ESLint—and confirm that CI detects formatting differences without requiring hooks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- ci-cd, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100