-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
52 lines (42 loc) · 993 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
##########################################
# Common Settings
##########################################
# This file is the top-most EditorConfig file
root = true
# All Files
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 120
tab_width = 4
# Non-standard rulers size rules
ij_visual_guides = 120
guidelines = 120
##########################################
# File Extension Settings
##########################################
# Human-Optimized Config Object Notation (HOCON) files
[*.conf]
indent_size = 2
tab_width = 2
# Scala files
[{*.scala, *.sbt}]
indent_size = 2
tab_width = 2
# Batch Files
[*.{cmd,bat}]
end_of_line = crlf
# Unix shell scripts
[{*.bash,*.sh,*.zsh}]
end_of_line = lf
indent_size = 2
tab_width = 2
# JSON files
[{*.har,*.jsb2,*.jsb3,*.json,*.json5,*.webmanifest,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
indent_size = 2
# YAML files
[{*.yaml,*.yml}]
indent_size = 2