Open kevinhehehaha opened 2 months ago
I have same issue here, with trim_trailing_whitespace
EditorConfig being ignored, when the similar vscode builtin setting @id:files.trimTrailingWhitespace
(but for all files) is in effect. This is not just a cosmetic issue, because it can damage diff files.
Please fill-in this template.
code --disable-extensions
and the issue did NOT present itself.Delete the following condition if it doesn't apply to your case:
If the extension is not picking up the expected configuration for a file:
npm install editorconfig -g
and raneditorconfig [file-in-question]
and the configuration was what I expected. If not, please file on theeditorconfig-core-js
issue tracker.Issue
x.x.x
x.x.x
Root
.editorconfig
FileAre there any other relevant
.editorconfig
files in your project? Yes / Noeditor.insertSpaces
true
____
____
editor.tabSize
4
_
_
editor.trimAutoWhitespace
true
____
____
files.autoSave
"off"
"___"
"___"
files.insertFinalNewline
false
_____
_____
files.trimTrailingWhitespace
false
_____
_____
File opened
./foo.js
Expected behavior
Actual behavior
Additional comments or steps to reproduce