-
Notifications
You must be signed in to change notification settings - Fork 27
/
.editorconfig
51 lines (41 loc) · 984 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
# Unitex/GramLab code formatting styles
# This file is for unifying the coding style for different editors and IDEs
# see http://editorconfig.org for information about how to use it
# add by martinec
# top-most EditorConfig file
root = true
# default settings
[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
# Java files
[*.{java,java.in,mf,mf.in}]
trim_trailing_whitespace = true
# Extra files
[*.{xml,js,css}]
trim_trailing_whitespace = true
insert_final_newline = true
# Makefiles
[{Makefile, Makefile.am}]
indent_style = tab
indent_size = 4
# Markdown
[*.{md,md.in}]
trim_trailing_whitespace = false
# Unix shell scripts
[*.sh]
end_of_line = lf
# Windows shell scripts
[*.{cmd, bat}]
end_of_line = crlf
# CI configuration
[{.appveyor.yml,.travis.yml,.pullapprove.yml}]
indent_style = space
indent_size = 2
# Some things to ignore
[{dist,build}/**]
insert_final_newline = ignore
trim_trailing_whitespace = ignore
end_of_line = ignore