forked from davidosomething/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
49 lines (38 loc) · 930 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
root = true
[*]
charset = utf-8
end_of_line = LF
indent_size = 2
indent_style = space
[{.gitconfig,*.gitconfig}]
indent_style = tab
[*.ini]
indent_size = 4
# html is not minified so reduce character output by using real tabs
# use indent size 4 for parity with PHP
[*.{erb,hbs,html,marko,mustache,xml}]
indent_style = tab
[*.{css,less,sass,scss}]
insert_final_newline = true
[*.{coffee,js,json,jsx,ts,tsx}]
insert_final_newline = true
[*.lua]
indent_style = space
indent_size = 2
call_arg_parentheses = keep
call_parentheses = Always
collapse_simple_statement = Never
max_line_length = 80
quote_type = double
[*.md]
indent_style = space
# PHP http://make.wordpress.org/core/handbook/coding-standards/php/
[*.{blade,php}]
indent_size = 2
insert_final_newline = true
[*.py]
indent_size = 4
# shfmt
# https://github.com/mvdan/sh/blob/master/cmd/shfmt/shfmt.1.scd#examples
[*.sh]
switch_case_indent = true # --case-indent