-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.editorconfig
42 lines (33 loc) · 905 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
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
[*.java]
indent_style = tab
max_line_length = 180
indent_size = 4 # Although I wish I could leave this undefined, I define it so continuation_indent_size is correct
ij_continuation_indent_size = 8 # twice as much as indent_size
trim_trailing_whitespace = true
ij_java_class_count_to_use_import_on_demand = 8
[{*.json,*.md}]
indent_style = space
indent_size = 2
[*.xml]
indent_style = space
indent_size = 4
[.idea/**.xml]
indent_size = 2
[{*.py,*.g,*.g4}]
indent_style = space
indent_size = 4
# *.ns is for NotationScript
[{*.js,*.css,*.ts,*.tsx,*.jsx,*.graphql,*.ns}]
indent_style = space
indent_size = 2
[core/**/*.js] # CouchDB design document JavaScript files get special treatment
indent_size = 4
[syslog-ng.conf]
indent_style = tab