CLI:
Version: 1.9.4
Color support: true
Platform:
CPU Architecture: x86_64
OS: windows
Environment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_CONFIG_PATH: unset
NO_COLOR: unset
TERM: "xterm-256color"
JS_RUNTIME_VERSION: "v18.19.0"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: "pnpm/9.10.0"
Biome Configuration:
Status: Loaded successfully
Formatter disabled: false
Linter disabled: false
Organize imports disabled: false
VCS disabled: false
Formatter:
Format with errors: false
Indent style: Space
Indent width: 2
Line ending: Lf
Line width: 80
Attribute position: Auto
Bracket spacing: BracketSpacing(true)
Ignore: []
Include: []
JavaScript Formatter:
Enabled: false
JSX quote style: Double
Quote properties: AsNeeded
Trailing commas: All
Semicolons: Always
Arrow parentheses: Always
Bracket spacing: BracketSpacing(true)
Bracket same line: false
Quote style: Single
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Attribute position: Auto
JSON Formatter:
Enabled: true
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Trailing Commas: unset
CSS Formatter:
Enabled: true
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Quote style: Double
GraphQL Formatter:
Enabled: false
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Bracket spacing: unset
Quote style: unset
Workspace:
Open Documents: 0
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"lineEnding": "crlf"
}
}
https://github.com/jwhitaker-gridcog/biome-repro-1730160752127
When formatting a graphql file with CRLF line endings, Biome inserts an extra line into multiline strings:
In the repro, I've set gitattributes
with eol=crlf
AND deliberately commited a crlf file to the repo. This is just to make it easier for you to examine. This issue appears with normal lf endings for all Windows users if they have core.autocrlf = true (which is normally the case).
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too