trim_trailing_whitespace: set to true to remove any whitespace characters preceding newline characters and false to ensure it doesn't.
I think when I set .editorconfig like below:
[*.md]
trim_trailing_whitespace = false
and my README.md look like:
a line trailing with two spaces
balabala
Notice that first line is trailing with two spaces.
I think trim_trailing_whitespace = false means we can trailing or not trailing whitespaces, not means that we must trailing whitespaces, so my case should be valid.
But editorconfig-tools say README.md failed trim_trailing_whitespace on line 1: found setting 'true', should be 'false'
According to editorconfig.org:
I think when I set
.editorconfig
like below:and my
README.md
look like:Notice that first line is trailing with two spaces.
I think
trim_trailing_whitespace = false
means we can trailing or not trailing whitespaces, not means that we must trailing whitespaces, so my case should be valid.But
editorconfig-tools
sayREADME.md failed trim_trailing_whitespace on line 1: found setting 'true', should be 'false'