Skip to content

Commit be4e79c

Browse files
authored
Add an editorconfig file for css and js indentation (#296)
1 parent 5af1c46 commit be4e79c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.editorconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# EditorConfig is awesome: https://editorconfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Matches multiple files with brace expansion notation
12+
# Set default charset
13+
[**.{js,css,py}]
14+
charset = utf-8
15+
16+
# 4 space indentation
17+
[*.py]
18+
indent_style = space
19+
indent_size = 4
20+
21+
# Indentation override for all JS under lib directory
22+
[**.{js,css}]
23+
indent_style = space
24+
indent_size = 2

0 commit comments

Comments
 (0)