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
I'm using prettier (unfortunately) in a SvelteKit project, with this .prettierrc file:
{ "useTabs": true, "singleQuote": true, "trailingComma": "none", "printWidth": 100, "plugins": [ "prettier-plugin-svelte", "prettier-plugin-tailwindcss" ], "overrides": [ { "files": "*.svelte", "options": { "parser": "svelte" } } ] }
I migrated this file to biome 1.9.4 and with the below biome.json everything works but I'm getting an annoying difference: the indentation!
With prettier the file is like this:
<script lang="ts"> import { something } from 'somewhere'; import { something } from 'somewhere'; import { something } from 'somewhere'; type Props = { // something } </script>
with Biome now it is like this:
Why?
{ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": true }, "files": { "ignoreUnknown": false, "ignore": [] }, "formatter": { "enabled": true, "lineWidth": 100, }, "linter": { "enabled": false }, "javascript": { "formatter": { "quoteStyle": "single", "trailingCommas": "none" } }, "overrides": [{ "include": ["*.svelte"] }] }
The text was updated successfully, but these errors were encountered:
This is a known limitation
Sorry, something went wrong.
Can I ask you why is that?
We currently just process the js sections because our HTML parser isn't ready yet.
Is there a place where I can monitor the status of the HTML parsing? I'd love to fully switch over to Biome for a pretty large Svelte project I have.
No branches or pull requests
I'm using prettier (unfortunately) in a SvelteKit project, with this .prettierrc file:
I migrated this file to biome 1.9.4 and with the below biome.json everything works but I'm getting an annoying difference: the indentation!
With prettier the file is like this:
with Biome now it is like this:
Why?
Configuration
Code of Conduct
The text was updated successfully, but these errors were encountered: