Skip to content
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 plugin in intellij not respecting settings in biome.json #42

Open
kudlatyamroth opened this issue Mar 22, 2024 · 2 comments
Open

Comments

@kudlatyamroth
Copy link

kudlatyamroth commented Mar 22, 2024

I installed pluign in intellij idea:
plugin version: 1.0.0
idea version: 2023.3.6 build IU-233.15026.9

project struct:
| src
| |
| test
|| node_modules
|| package.json
|| biome.json
|| spec
||| some_tests.ts

when i edit some_tests.ts it not read biome.json config, i tried restarting intellij and nothing helps
only switch to manual configuration and specify location for exec in node_modules and config in test dir

running:
npx @biomejs/biome format --write ./specs/some_tests.ts
correctly format, respecting biome.json configuration

@ematipico
Copy link
Member

ematipico commented Mar 23, 2024

You have to provide a config path to the plugin or move the configuration file at the root of your project.

That's the current constraints we have in the extension.

@kudlatyamroth
Copy link
Author

Info beside automatic configuration says it will search in file parents directories, not root of a project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants