Skip to content

Conversation

@desertaxle
Copy link
Member

@desertaxle desertaxle commented Apr 5, 2025

This PR turns on biome's linting capabilities and fixes all errors raised by biome. I turned this on because I missed having linting pre-commit, and biome is fast enough to run before each commit. We'll still have eslint running in CI to cover gaps in biome's suggested rules.

@desertaxle desertaxle changed the title lint with biome [UI v2] Turn on linting with biome and fix lint errors Apr 5, 2025
@github-actions github-actions bot added the ui-replatform Related to the React UI rewrite label Apr 5, 2025
@desertaxle desertaxle requested a review from Copilot April 5, 2025 03:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 193 out of 194 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • ui-v2/biome.json: Language not supported
Comments suppressed due to low confidence (1)

ui-v2/src/components/artifacts/artifact-card.tsx:19

  • The change in the Link component now uses a static string for the route, which assumes that the router will use the provided params for dynamic substitution. Please verify that using "/artifacts/key/$key" (without template literal interpolation) correctly maps the route parameter; otherwise, consider restoring dynamic interpolation (e.g. using template literals) if required.
        <Link to="/artifacts/key/$key" params={{ key: artifact.key ?? "" }}>

@desertaxle desertaxle marked this pull request as ready for review April 5, 2025 03:07
Copy link
Contributor

@devinvillarosa devinvillarosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@desertaxle desertaxle merged commit 3fc1013 into main Apr 6, 2025
8 checks passed
@desertaxle desertaxle deleted the lint-with-biome branch April 6, 2025 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui-replatform Related to the React UI rewrite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants