forked from mattharley/pythonwa
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.editorconfig
57 lines (45 loc) · 904 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
45
46
47
48
49
50
51
52
53
54
55
56
57
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# python files
[*.py]
trim_trailing_whitespace = true
# config files
[*.{json,json5,yaml,yml,toml}]
indent_size = 2
# Javascript and Typescript
[*.{js,jsx,ts,tsx,vue}]
indent_size = 2
block_comment_start = /**
block_comment = *
block_comment_end = */
# HTML and CSS
[*.{htm,html,css,sass,scss,less,svg}]
indent_size = 2
# Terraform
[*.{tf,tfvars}]
indent_size = 2
# Shell scripts
[*.{sh,bat.tpl,Makefile.tpl}]
indent_style = tab
# Makefiles
[Makefile]
indent_style = tab
# windows scripts
[*.{cmd,bat}]
end_of_line = crlf
# Markdown
[*.md]
trim_trailing_whitespace = false
indent_style = space
indent_size = 2
# diff files
[*.diff]
trim_trailing_whitespace = false