-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditorconfig
99 lines (79 loc) · 1.78 KB
/
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# -*- mode: editorconfig-conf; -*-
# see http://editorconfig.org/
# EditorConfig is awesome: https://EditorConfig.org
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
# 'wikidocs' : indent_size '4'
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
# Emacs Lisp style
[*.el]
charset = utf-8
indent_style = space
max_line_length = 80
tab_width = 8
# [*.rb]
# charset = utf-8
# indent_style = space
# indent_size = 4
# [*.{py,pl}]
# charset = utf-8
# indent_style = space
# indent_size = 4
# [*.{c,cc,cpp,h,hpp}]
# indent_style = space
# tab_width = 4
# indent_size = 4
# [*.{html,css,scss}]
# indent_style = space
# indent_size = 2
# tab_width = 2
# continuation_indent_size = 2
# charset = utf-8
# # Matches multiple files with brace expansion notation
# # Set default charset
# [*.{js,ts}]
# charset = utf-8
# indent_size = 2
# tab_width = 2
# continuation_indent_size = 2
# # Indentation override for all JS under lib directory
# [lib/**.js]
# indent_style = space
# indent_size = 2
# [*.{json,yml,yaml}]
# indent_style = space
# indent_size = 2
# insert_final_newline = ignore
# [*.snip]
# indent_style = tab
# indent_size = 4
# tab_width = 4
# [*.rs]
# indent_size = 4
# indent_style = space
# [*.{sh,zsh,bash}]
# indent_size = 8
# indent_style = tab
# [*.go]
# indent_size = 8
# indent_style = tab
# [*.toml]
# indent_style = space
# indent_size = 4
# # Matches the exact files either package.json or .travis.yml
# [{package.json,.travis.yml}]
# indent_style = space
# indent_size = 4