chore: add Biome code quality checks - #64
Closed
nihmadev wants to merge 4 commits into
Closed
Conversation
Collaborator
|
lgtm |
Resolve conflicts by accepting upstream functionality (GitHub forking, GitHub token settings, addToBug crash fix, isPackaged/localJson path fix, smoothScroll removal) and applying Biome formatting to all merged code.
Accept upstream's gitignore module extraction and apply Biome formatting.
cdmtn-dev
requested changes
Jul 28, 2026
cdmtn-dev
left a comment
Collaborator
There was a problem hiding this comment.
Right now, I'm not ready to implement major style changes. They conflict with the current development, and after testing, I ran into problems during the build.
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.
Description
Adds Biome as the shared formatter and linter so contributors use the same syntax rules regardless of their editor preferences.
The configuration standardizes indentation, line endings, quotes, semicolons, trailing commas, and line width. Generated output, vendored libraries, embedded runtimes, media assets, and package manager lockfiles are excluded from source checks.
The existing maintained JavaScript, TypeScript, CSS, and JSON files are formatted once in this PR. This accounts for most of the diff and establishes a clean baseline for future contributions.
CI
Adds a Code Quality workflow for pull requests and pushes to the main branches. Pull requests check files changed from the base commit and publish diagnostics as GitHub annotations. Pushes to main run the same checks across the repository.
Contributor commands are documented in the README. Use npm run check to verify changes and npm run check:fix to apply safe fixes.
Verified with Biome 2.5.6 using the full repository check, formatter check, and changed files check.