Comments (6)
I think we can set this task for Biome 2.0 because this will require a breaking change.
from biome.
Yes. The code for this is already implemented, but it's placed behind a flag. This issue should be closed when that flag is removed in biome 2.0.
from biome.
The pattern logic is an internal fork of glob
: https://docs.rs/glob/latest/glob/struct.pattern.html
Other than that, unfortunately I can't give you more information, we will have to figure it out ourselves.
Regarding the recursion, I think it's safe to assume that we don't want to support nested patterns deeper than one level:
{*.ts, *.js}
yes{{*.ts, *.js}}
no
Even other libraries that offer Unix glob parsing and matching don't support nested patterns.
If we set this as a goal, I think recursion isn't needed. Or we could use it, and it should not put too much memory pressure.
from biome.
FYI, there're some pre-discussions here: #2620
from biome.
@Conaclos why was this PR merged if the milestone is set for Biome 2.0?
from biome.
does this still need to be open?
from biome.
Related Issues (20)
- π `--write` applies fixes to all rules ignoring `--only` HOT 1
- π Error of sorting grouped imports in alphabetical order HOT 1
- `useHookAtTopLevel` reports errors on code that is not React HOT 3
- π Svelte : a component used as component AND type triggers the lint "All these imports are only used as types.biomelint/style/useImportType" HOT 1
- JSX doesn't format correctly π HOT 2
- π(WinOS) `--config-path` causes "unexpected error" HOT 2
- π Reformat issue with escaped character in stringified object key
- π Strip useless quotes for import attributes HOT 1
- π Internal error when linting using ``pre-commit`` with a ``ThreadPoolBuildError`` HOT 6
- π biome lint bugs HOT 1
- βοΈ Qwik lint rules
- βοΈ Qwik lint rules HOT 1
- π The behavior of handling nested template literals is weird HOT 5
- π useExhaustiveDependencies does not correctly capture dependencies from destructured arrays HOT 3
- π Formatting removes unicode chars in `neovim` HOT 1
- π configuration file error HOT 14
- πInvalid formatting when unexpected token hit HOT 1
- false positive on use strict directive HOT 4
- Webstorm plugin not formatting files. (CLI formats successfully with --write flag)
- π CSS parser doesn't support nested pseudo classes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biome.