sillsdev / sillsdev/languageforge-lexbox
Run Prettier over the whole viewer, not just components
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
Prettier in frontend/viewer is currently scoped to src/lib/components/** only. frontend/viewer/.prettierignore has a "Temporarily ignore everything except components" block that excludes the rest of the viewer, so format:check (enabled in CI by the PR this issue follows) only covers the components directory.
Follow-up: widen Prettier to the whole viewer, using the same pattern as the components rollout (#2151):
- Remove the temporary ignore block from
.prettierignore. - Run
pnpm run formatas a single dedicated commit. - Add that commit to
.git-blame-ignore-revs.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with frontend/viewer/.prettierignore and remove the temporary block that excludes everything except components. Run pnpm run format and keep the formatting changes in one dedicated commit, then add that commit to .git-blame-ignore-revs. Done means format:check covers the whole viewer and the ignore-revs entry is present.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend, tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100