forked from Morgul/ui-bootstrap4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
45 lines (36 loc) · 1 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
# This project uses EditorConfig for setting code formatting options: http://EditorConfig.org
root = true
# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = tab
tab_width = 4
max_line_length = 120
spaces_around_operators = true
spaces_around_brackets = none
curly_bracket_next_line = true
indent_brace_style = Allman
continuation_indent_size = 4
[*.{css,less}]
curly_bracket_next_line = false
continuation_indent_size = 0
# Formats likely to be pasted into an REPL on a terminal should not use tabs to avoid triggering tab-completion.
[*.{sh,bash,sql,psql,pgsql}]
indent_style = space
indent_size = 4
[*.yml]
indent_style = space
indent_size = 2
[*.{js,json}]
indent_style = space
indent_size = 4
# Special overrides for automatically-generated files
[package.json]
indent_size = 2
# For some formats, trailing whitespace is significant; don't strip it.
[*.{md,diff,patch}]
trim_trailing_whitespace = false