-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
53 lines (42 loc) · 925 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
53
# For more information about the properties used in
# this file, please see the EditorConfig documentation:
# http://editorconfig.org/
# top-most EditorConfig file
root = true
# Default
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing-whitespace = true
indent_style = space
indent_size = 4
quote_type = single
# 2-space files
[{*.{yaml,yml,sh,jscsrc},package.json,.*rc}]
indent_style = space
indent_size = 2
# PHP should follow the PSR-2 standard
[*.{json,php}]
indent_style = space
indent_size = 4
# Fusion uses 4 spaces
[*.fusion]
indent_style = space
indent_size = 4
# JS should use tabs, to reduce conflicts
[*.js]
indent_style = tab
# JSON can have longer lines
[*.{json}]
max_line_length = 1000
[Sites.xml]
indent_size = 1
max_line_length = 1000
[*.{note,md,edit,read}]
indent_size = 2
trim_trailing-whitespace = false
[Makefile]
indent_style = tab
[*.css.d.ts]
indent_size = 2