Discovered in airbnb/javascript#1102, using editorconfig-tools check.
It seems like the check doesn't go through all lines. If I use indent_style=space, a single tab goes unnoticed, but if all lines are using tabs, I get yelled at. It's the same the other way around; having indent_style=tab, a single line using spaces for indentation goes unnoticed, but if the whole file is indented with spaces, it fails.
Discovered in airbnb/javascript#1102, using
editorconfig-tools check
.It seems like the check doesn't go through all lines. If I use
indent_style=space
, a single tab goes unnoticed, but if all lines are using tabs, I get yelled at. It's the same the other way around; havingindent_style=tab
, a single line using spaces for indentation goes unnoticed, but if the whole file is indented with spaces, it fails.