🐛 Setting indent_size
to tab
in .editorconfig
causes error
#5164
Labels
A-Project
Area: project
good first issue
Good for newcomers
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
I have the following
.editorconfig
file:I usually set
indent_size
totab
and comment outtab_width
, so that it will use the tab width configured in the editor of the user.I have set
formatter/useEditorconfig
totrue
inbiome.json
, so it uses the.editorconfig
file above.Running
biome check
now shows the following error and does nothing else:If I set
indent_size
to4
, everything works again, but according to https://editorconfig.org and their detailed document, settingindent_size
totab
is perfectly valid and should be supported. I also noticed that thetab_width
setting is currently not being parsed by Biome, it looks like, so that may have to be done first.Expected result
It should accept
indent_size = tab
in.editorconfig
and use the value oftab_width
, or a default, and not throw an error.Code of Conduct
The text was updated successfully, but these errors were encountered: