Skip to content

Conversation

@Conaclos
Copy link
Member

@Conaclos Conaclos commented Feb 22, 2025

Summary

Closes #4611
Fixes #2421
Fixes #3345

This PR completely remove the include field of the Biome config file.
I introduced the new types OverrideGlobs and OverrideIncludes to support Editorconfig.
biome_deserialize always deserialize the globs as Biome globs, while serde deserialize/serialize the two formats that allows LSP deserialization/serialization.

The Editorconfig parser ignores glob patterns that generate errors.
Errors were collected but silently ignored.
We should certainly report the errors as warnings in verbose mode.
I left it for anyone interested in.

I removed out=r old glob implementation.

Also, I noted that another ambiguity about Editorconfig globs.
I updated EditorconfigGlob to take it into account.

Test Plan

I updated the tests.

@github-actions github-actions bot added A-CLI Area: CLI A-Project Area: project labels Feb 22, 2025
@Conaclos Conaclos requested review from a team February 22, 2025 18:19
@Conaclos Conaclos force-pushed the conaclos/editorconfig-includes branch from f83164d to 3e6ad06 Compare February 22, 2025 19:31
@Conaclos Conaclos force-pushed the conaclos/editorconfig-includes branch from 3e6ad06 to 23a01a0 Compare February 23, 2025 10:10
@Conaclos Conaclos merged commit 538f87d into main Feb 23, 2025
12 checks passed
@Conaclos Conaclos deleted the conaclos/editorconfig-includes branch February 23, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Area: CLI A-Project Area: project

Projects

None yet

3 participants