chore: add format scripts and remove unused eslint-plugin-unused-imports #482
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR builds on the ESLint config simplification by adding the missing Prettier workflow scripts and removing a dead dependency.
Changes:
formatscript (prettier . --write) for formatting all filesformat:checkscript (prettier . --check) for CI validationfixscript that runs ESLint fixes across all packages, then formats with Prettiereslint-plugin-unused-importsfrom devDependencies (was removed from ESLint config in parent PR but dependency remained)Review & Testing Checklist for Human
pnpm fixto verify the combined lint+format workflow works correctlypnpm format:checkto verify it correctly detects unformatted files.gitignoreand doesn't formatnode_modules/,dist/, etc. (no.prettierignoreexists, so it relies on gitignore)Test plan: Run
pnpm format:check- it should report formatting issues. Then runpnpm fix- it should lint and format. Runpnpm format:checkagain - it should pass.Notes
This PR targets the
feat/eslint-config-12-25branch (parent PR #479), not main.Link to Devin run: https://app.devin.ai/sessions/827798cfe6ca476795794f7539cb234c
Requested by: Dan Lynch ([email protected]) / @pyramation