Skip to content

Commit df43bab

Browse files
author
Kumar Harsh
committed
chore: fix editorconfig
- all JS/JSON/yaml are already using spaces, so having indent-style as tab just confuses the editor. - only the README.md is using tabs for whitespace, for which a new rule is added
1 parent a711447 commit df43bab

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.editorconfig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ root = true
55
[*]
66
end_of_line = lf
77
charset = utf-8
8-
trim_trailing_whitespace = false
8+
trim_trailing_whitespace = true
99
insert_final_newline = true
10-
indent_style = tab
10+
indent_style = space
1111

1212
[*.json]
1313
indent_style = space
1414
indent_size = 2
15+
16+
[*.md]
17+
trim_trailing_whitespace = false
18+
indent_style = tab

0 commit comments

Comments
 (0)