We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.93.1
2.3.0
1.9.4
Biome CLI (via package.json) and Biome extensions have contradictory behaviors when it come to formatting.
Here is my biome.json:
{ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, "formatter": { "enabled": true, "useEditorconfig": true, "formatWithErrors": true, "indentStyle": "tab", "lineEnding": "lf", "indentWidth": 2, "lineWidth": 100, "attributePosition": "auto", "bracketSpacing": true, "ignore": ["**/dist", "**/coverage"] }, "organizeImports": { "enabled": false }, "linter": { "enabled": false }, "javascript": { "formatter": { "enabled": true, "jsxQuoteStyle": "double", "quoteProperties": "asNeeded", "trailingCommas": "all", "semicolons": "always", "arrowParentheses": "asNeeded", "bracketSameLine": false, "quoteStyle": "single" } }, "json": { "formatter": { "enabled": true, "trailingCommas": "none" } }, "files": { "include": [ "src/**/*.ts", "src/**/*.tsx", "src/**/*.js", "src/**/*.jsx", "src/**/*.json", "test/**/*.ts", "test/**/*.tsx", "test/**/*.js", "test/**/*.jsx", "test/**/*.json" ], "ignore": ["**/node_modules", "**/dist", "**/coverage"] } }
Install biome (package & extension) and add the following scripts:
"format": "biome check ."
run format document via vscode, then run pnpm format --fix
Contradictory & self-cancelling behaviors. I believe it started with a recent update.
Expected the same behavior whether vscode, or biome package.
Yes
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
VS Code version
1.93.1
Extension version
2.3.0
Biome version
1.9.4
Operating system
Description
Biome CLI (via package.json) and Biome extensions have contradictory behaviors when it come to formatting.
Steps to reproduce
Here is my biome.json:
Install biome (package & extension) and add the following scripts:
run format document via vscode, then run pnpm format --fix
Contradictory & self-cancelling behaviors. I believe it started with a recent update.
Enregistrement.de.l.ecran.2024-12-13.a.00.37.39.mov
Expected behavior
Expected the same behavior whether vscode, or biome package.
Does this issue occur when using the CLI directly?
Yes
Link to a minimal reproduction
No response
Logs
No response
The text was updated successfully, but these errors were encountered: