-
Notifications
You must be signed in to change notification settings - Fork 4
/
.editorconfig
38 lines (29 loc) · 825 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
# ~/.editorconfig
#
# https://github.com/agkozak/dotfiles
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
# Based on WordPress Coding Standards,
# https://make.wordpress.org/core/handbook/coding-standards/
root = true
[*.{css,html,js,php}]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
[{.jshintrc,*.json,*.yml}]
indent_style = space
indent_size = 2
[{*.txt,wp-config-sample.php}]
end_of_line = crlf
# Non-WordPress settings
[{*.vim,.vimrc,.gvimrc,_vimrc,_gvimrc,.shrc,.bashrc,.zshrc,.profile,.bash_profile,.zprofile,*.sh,*.zsh,.kshrc,.mkshrc}]
indent_style = space
indent_size = 2
[*.scss]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab