Allow the use of URLs inside the extends
option to ease adoption inside large companies and organizations.
#726
Closed
arthurfiorette
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
This is an excellent alternative to #644, although it comes with some drawbacks that should be highlighted:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Dependency resolution in js is hard, but if it can be easily done outside of the JS land, fair.
I typed it on my phone 😁 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Inside large organizations and companies, maintaining a biomejs configuration file for each repository shortly becomes inconsistent and hard to maintain. If we could do the following for all repositories would be an awesome way to sync format and linting rules across the entire org.
This is similar to what is being proposed by #644, but much more easy to implement.
Similar to relative paths, the only different behavior is to fetch the config url if it starts with
http://
orhttps://
from the internet instead of the file system. Authentication inside the url should also be handled, likehttp://token:[email protected]/my-file.json
.When the downloaded content cannot be parsed into json, an error should be thrown and block the biome to continue working. If it cannot be downloaded because there no internet access, probably we should just ignore this extends entry and emit a warning.
Beta Was this translation helpful? Give feedback.
All reactions