-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
44 lines (34 loc) · 1.05 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
# http://editorconfig.org
root = true
## Jesse's EditorConfig,
## > Favor 4 Tabs for Language Code
## > Favor 2 Tabs for Everything Else
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
## ------------------------------------------- ##
## Dotfiles
## ------------------------------------------- ##
[*.{babelrc,bashrc,bash_profile,bash{_}alias{es},env,env.example,envrc,exports,gitconfig,nvmrc,profile,vimrc}]
insert_final_newline = ignore
## ------------------------------------------- ##
## (Ignore) Minified JS/CSS
## ------------------------------------------- ##
[*.{min.js,.min.css,scssc}]
indent_style = ignore
insert_final_newline = ignore
## ------------------------------------------- ##
## Bash/Bat and Makefil Files
## ------------------------------------------- ##
[*.bat,Makefile]
indent_style = tab # These always use tabs (Windows)
[*.{bash,sh,zsh}]
trim_trailing_whitespace = true
insert_final_newline = ignore
[**.php,*.{php}]
indent_size = 4
max_line_length = 180