-
-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 biome.requireConfiguration
config in VSCode is missing
#1943
Comments
That's outdate. cc @nhedger |
The |
You might want to update the docs in the meantime then. Is there any other option I could use at the moment? |
PRs are welcome :) |
@piotrkulpinski I've just published a new pre-release ( |
@nhedger I can see the option, thanks! From what I understand, this is something else though. It just enable/disable the extension just like if I would enable/disable from the Extensions tab. The old option would let me keep the ext enabled globally but disable it conditionally when no config file was found. I think Prettier has both options available. Thanks for looking into this! |
I think an opt-in makes a lot more sense than an opt-out. Projects which support Biome formatting have a Projects which don't concern themselves with Biome shouldn't need to add a Is there an explanation somewhere for why this was removed? |
I've been super confused by this for months, and I'm just now finding this issue. I agree with @acnebs that the current behaviour is bewildering. I keep finding that Biome is causing huge unexpected diffs in projects that I never created a I don't think it's reasonable to ask every project to add a I do think there's value in allowing Biome to run files without configuration, but the potential to mess up existing projects is high and |
I agree with @lgarron. The |
This keeps catching me out. I really, really like Biome but this is becoming uncomfortable to work around. I'm going to file a new issue with a request to reinstate this. |
@nhedger informed me at biomejs/biome-vscode#464 (comment) that this is resolved in the latest pre-release. After installing it, I see a |
When is this going to be promoted from pre-release? There have already been several releases since this issue was last updated. |
Environment information
What happened?
I'm using VSCode Biome extension and I'm running some work projects that still require me to use Prettier/ESLint. I have to disable the biome extension every time I need to switch the project, otherwise they get conflicted as Biome runs even if there's no config file in the project.
This configuration seems to be missing from the latest extension version.
https://biomejs.dev/reference/vscode/#biomerequireconfiguration
Expected result
I should not see Biome errors and biome formatter should not be working if there's no Biome config file in the workspace.
Code of Conduct
The text was updated successfully, but these errors were encountered: