forked from hasgeek/funnel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
44 lines (37 loc) · 842 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Hasgeek code style config
root = True
# For all files
[*]
end_of_line = lf
insert_final_newline = true
# For all code, config and documentation
[*.{js,py,jinja2,j2,html,xml,css,sass,scss,json,yml,md,rst}]
charset = utf-8
indent_style = space
tab_width = 8
max_line_length = 88
# Python code
[*.py]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
# JavaScript and HTML/CSS
[*.{js,js.jinja2,html.jinja2,xml.jinja2,j2,html,xml,css,sass,scss}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
# Makefile
[Makefile]
indent_style = tab
indent_size = tab
trim_trailing_whitespace = true
# Config
[*.{json,toml,yml,yaml}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
# Documentation
[*.{md,rst,md.jinja2}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false