Add JavaScript and C++ formatting for javascript directory#745
Merged
Add JavaScript and C++ formatting for javascript directory#745
Conversation
Co-authored-by: K20shores <[email protected]>
Copilot
AI
changed the title
[WIP] Update formatting for JavaScript and C++ code
Add JavaScript and C++ formatting for javascript directory
Jan 20, 2026
K20shores
approved these changes
Jan 20, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #745 +/- ##
==========================================
- Coverage 74.60% 74.58% -0.02%
==========================================
Files 109 109
Lines 8115 8090 -25
==========================================
- Hits 6054 6034 -20
+ Misses 2061 2056 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
boulderdaze
approved these changes
Jan 21, 2026
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.
Adds automatic formatting for JavaScript and C++ code in the
javascriptdirectory via the existing format.yml workflow.Changes
Added Prettier for JavaScript
.prettierrcwith standard config (2-space tabs, single quotes, 100-char width)prettieras dev dependencyAdded npm format scripts
Updated format.yml workflow
npm run formatafter existing clang-format stepsAll JavaScript and C++ files in the
javascriptdirectory have been formatted according to the new configuration.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.