editorconfig-tools icon indicating copy to clipboard operation
editorconfig-tools copied to clipboard

Modification is made even if value is 'unset'

Open fchiba opened this issue 8 years ago • 1 comments

According to the document, 'unset' should be treated as unspecified. But, actually 'unset' has some meanings on each property.

For example, if unset is specified for insert_final_newline, it's treated as truthy and newline is inserted. cf. https://github.com/slang800/editorconfig-tools/blob/master/lib/rules/insert-final-newline.coffee#L21

fchiba avatar May 08 '17 16:05 fchiba

https://github.com/slang800/editorconfig-tools/pull/38

fchiba avatar May 08 '17 16:05 fchiba