-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
π disabling formatter doesn't work #2924
Comments
Disabling javascript formatter still proposes the following change:
|
I think I can pick this one up. |
It appears that the file capabilities are generally being set correctly for javascript files
But not this one specifically? ../biome/target/debug/biome format --log-level debug ./static/app/utils/queryClient.tsx output:
|
Ah I think I figured it out. There's an override set for that specific file, and that override is somehow enabling the formatter. {
"include": [
"static/app/utils/replays/types.tsx",
"static/app/utils/queryClient.tsx", // <-- the file
"static/app/views/performance/traceDetails/styles.tsx",
"static/app/icons/index.tsx",
"static/app/components/tabs/index.tsx",
"static/app/components/sparklines/line.tsx",
"static/app/types/index.tsx",
"tests/js/sentry-test/reactTestingLibrary.tsx",
"tests/js/sentry-test/index.tsx"
],
"linter": {
"rules": {
"performance": {
"noBarrelFile": "off"
}
}
}
} |
Nice catch @dyc3 |
So it's not a Biome bug? |
I think it's still a Biome bug because that override entry didn't enable the js formatter, so it should be kept disabled? |
I'm still waiting for a minimal reproduction, though. |
Repro will be in a test in my PR when I post it. Been busy with IRL stuff, should be up by end of my day (tomorrow morning for you @ematipico probably) |
Environment information
Configuration
Playground link
getsentry/sentry#71157
Code of Conduct
The text was updated successfully, but these errors were encountered: