Skip to content

Conversation

ematipico
Copy link
Member

@ematipico ematipico commented Jan 2, 2025

Summary

Closes #4813

The change is very simple, and it was done in two places.

Another change I did in this PR is reviewing a warning we print on console regarding non-printed diagnostics.

Test Plan

I tested the new logic by creating a new biome check script in this repository, in the file packages/@biomejs/biome/package.json. By default, Biome should resolve the root biome.json, and it should keep ignoring packages/@biomejs/biome/configuration_schema.json. Running the check command still ignores the file.

I updated the relevant snapshots.

Revised diagnostic limit messages for clarity, suggesting the use of `--max-diagnostics`. Adjusted configuration path handling for better consistency in various parts of the code. Updated related test snapshots to reflect these changes.
@github-actions github-actions bot added A-CLI Area: CLI A-LSP Area: language server protocol labels Jan 2, 2025
@ematipico ematipico requested review from a team January 2, 2025 09:41
@ematipico ematipico merged commit d3b7b2d into next Jan 2, 2025
10 of 11 checks passed
@ematipico ematipico deleted the refactor/resolved-directory branch January 2, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: CLI A-LSP Area: language server protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve configuration paths/globs from the configuration, instead of from the working directory
2 participants