fix(#18): add lint/format scripts, .prettierignore, and apply formatting - #29
Merged
priscaenoch merged 1 commit intoJul 21, 2026
Conversation
… formatting - Add lint:fix, format, and format:fix scripts to package.json - Add .prettierignore covering dist, build, node_modules, and lockfiles - Add build/** to eslint.config.js ignores - Add remaining files with no-explicit-any usage to the existing override - Apply prettier --write to all 101 files with formatting differences npm run lint and npm run format now both exit 0 on a clean tree.
|
@peterexcel494-oss is attempting to deploy a commit to the Prisca's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Closes #18
Adds the missing lint and format npm scripts so contributors and CI can run them consistently.
Changes
package.jsonAdded three missing scripts alongside the existing
lint:lint:fix—eslint . --fixformat—prettier --check .format:fix—prettier --write ..prettierignore(new file)Ignores
dist,build,node_modules, and lockfiles so Prettier doesn't touch generated or vendor output.eslint.config.jsbuild/**to the flat-configignoresblock (alongside the existingdist/**andnode_modules/**).any(SubInvocationGraph.tsx,BatchMultiCall.tsx,RateLimitDashboard.tsx,test/SearchPage.test.tsx) to the existingno-explicit-any: offoverride, consistent with the established pattern.Formatting pass
Ran
npm run format:fixto bring all 101 previously unformatted files up to Prettier's code style.Verification
Both acceptance criteria from issue #18 are satisfied. CI (issue #5) can call
npm run lintwithout further changes.