Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Upgrade to Biome 2.2.4#283

Merged
haydenbleasel merged 13 commits into
mainfrom
biome-2.2.4
Sep 21, 2025
Merged

Upgrade to Biome 2.2.4#283
haydenbleasel merged 13 commits into
mainfrom
biome-2.2.4

Conversation

@haydenbleasel

Copy link
Copy Markdown
Owner

This pull request mostly focuses on test cleanup, minor refactoring, and configuration improvements. The main changes include renaming the hasESLint function to hasEsLint (and updating all its references), improving test mock implementations for clarity, updating the Biome linter configuration with new and adjusted rules, and cleaning up some import statements.

Test Refactoring and Consistency:

  • Renamed the hasESLint function to hasEsLint throughout the codebase, including all test mocks and test cases, to ensure naming consistency and clarity. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
  • Updated mock implementations in tests to use more concise arrow functions, improving readability and reducing boilerplate. This was done for various mockExists and similar mocks across ESLint, Prettier, and general initialization tests. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

Linter and Configuration Updates:

  • Added and adjusted several rules in the biome.jsonc configuration: enabled noDuplicateDependencies, noJsxLiterals, and useConsistentArrowReturn; moved noUnnecessaryConditions and noUselessCatchBinding to "off" to reduce noise; and disabled useVueMultiWordComponentNames. [1] [2] [3] [4] [5]

Import Statement Cleanup:

  • Updated imports in __tests__/cli.test.ts to use initTRPC from @trpc/server directly instead of via trpcServer, simplifying the import and reducing confusion. [1] [2]

Test Assertion Formatting:

  • Improved formatting in test assertions for readability, particularly in the Biome check command test.

@vercel

vercel Bot commented Sep 21, 2025

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ultracite Ready Ready Preview Comment Sep 21, 2025 2:30am

Comment thread biome.jsonc Outdated
haydenbleasel and others added 2 commits September 20, 2025 19:28
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
@haydenbleasel haydenbleasel merged commit eae0a31 into main Sep 21, 2025
12 checks passed
@haydenbleasel haydenbleasel deleted the biome-2.2.4 branch September 21, 2025 02:31
@github-actions

Copy link
Copy Markdown
Contributor

🚀 PR was released in v5.4.0 🚀

@github-actions github-actions Bot added the released This issue/pull request has been released. label Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released This issue/pull request has been released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant