chore: Add Prettier and pre-commit hook for consistent formatting, applying initial format fixes across documentation and examples.#409
Merged
MJjainam merged 1 commit intogoogle-github-actions:mainfrom Dec 8, 2025
Conversation
07866b0 to
6969061
Compare
…plying initial format fixes across documentation and examples.
6969061 to
dc1562d
Compare
Collaborator
|
@gemini-cli /review |
Contributor
|
🤖 Hi @MJjainam, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
Contributor
There was a problem hiding this comment.
This pull request introduces Prettier to enforce consistent code formatting across the project, along with a pre-commit hook to automate the process. The changes are well-structured and significantly improve the codebase's consistency by reformatting numerous documentation and example files.
🔍 General Feedback
- The introduction of Prettier is a great step towards maintaining a consistent style and reducing formatting-related noise in future contributions.
- The configuration in
.prettierrcis standard and the ignored files in.prettierignoreare appropriate. - I've added one minor suggestion to the
.husky/pre-commitscript to align with shell scripting best practices.
MJjainam
reviewed
Dec 8, 2025
MJjainam
reviewed
Dec 8, 2025
MJjainam
approved these changes
Dec 8, 2025
Merged
parthasaradhie
pushed a commit
that referenced
this pull request
Dec 16, 2025
## What's Changed * fix #371 use JSON output of gemini cli by @gsehgal in #402 * fix: detect silent failures in gemini-cli by checking for invalid JSO… by @megha1188 in #406 * chore: Add Prettier and pre-commit hook for consistent formatting, applying initial format fixes across documentation and examples. by @parthasaradhie in #409 * Rename `DEBUG` input to `GEMINI_DEBUG` and pass `--debug` flag to CLI. by @parthasaradhie in #407 * ci: auto update GitHub Actions using dependabot by @JamBalaya56562 in #398 * Add job summary for Gemini CLI execution by @megha1188 in #423 ## New Contributors * @megha1188 made their first contribution in #406 * @parthasaradhie made their first contribution in #409 **Full Changelog**: v0.1.16...v0.1.17
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.
Adding prettier config as default formatter. and pre commit hook to format files automatically.
Reformatting existing file
This is part of #373