🐛 Error about insert_final_newline
being set to true
in .editorconfig
, even if Biome's supported files shouldn't be affected
#5165
Labels
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
Next to #5164, I also noticed this while using an
.editorconfig
file with Biome:I have the following
.editorconfig
file:As you can see I only enabled
insert_final_newline
for Clang files, which shouldn't be affected or formatted by Biome anyway.I have set
formatter/useEditorconfig
to true inbiome.json
, so it uses the.editorconfig
file above.Running
biome check
now shows the following error, but afterwards still runs as usual:If I remove the line with
insert_final_newline = false
, this error doesn't show up anymore.Expected result
I think that if a config like
insert_final_newline
in.editorconfig
won't affect Biome and the files Biome is going to format, it should just ignore that config, and not show an error for f.e. Clang files' configuration.Code of Conduct
The text was updated successfully, but these errors were encountered: