-
Notifications
You must be signed in to change notification settings - Fork 7
/
.editorconfig
34 lines (24 loc) · 1.03 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
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.
# Requires EditorConfig JetBrains Plugin - http://github.com/editorconfig/editorconfig-jetbrains
# Set this file as the topmost .editorconfig
# (multiple files can be used, and are applied starting from current document location)
root = true
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
# Use bracketed regexp to target specific file types or file locations
[*.{js,json}]
# Use hard or soft tabs ["tab", "space"]
indent_style = space
# Size of a single indent [an integer, "tab"]
indent_size = tab
# Number of columns representing a tab character [an integer]
tab_width = 4
# Line breaks representation ["lf", "cr", "crlf"]
end_of_line = lf
# ["latin1", "utf-8", "utf-16be", "utf-16le"]
charset = utf-8
# Remove any whitespace characters preceding newline characters ["true", "false"]
trim_trailing_whitespace = true
# Ensure file ends with a newline when saving ["true", "false"]
insert_final_newline = true