forked from gramener/gramex-nlg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
29 lines (24 loc) · 853 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
# .editorconfig maintains consistent coding styles between different editors.
# Get plugins at http://editorconfig.org/
# - Sublime text: https://github.com/sindresorhus/editorconfig-sublime
# - Notepad++: https://github.com/editorconfig/editorconfig-notepad-plus-plus
root = true
# Apply common styles for most standard code files.
# Do not apply to * - that covers binary files as well
[*.{js,html,php,py,css,svg,json,less,yaml,yml,scss,xml,sh,java,bat,R,tmpl}]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# Stick to 2-space indenting by default, to conserve space
indent_style = space
indent_size = 2
[*.py]
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 4
[testlib/test_config/config.empty.yaml]
insert_final_newline = false
[tests/dir/gramex.yaml]
insert_final_newline = false