-
-
Notifications
You must be signed in to change notification settings - Fork 356
/
.editorconfig
37 lines (32 loc) · 1.08 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
# Towny's EditorConfig
## Eclipse users need https://github.com/ncjones/editorconfig-eclipse
## NetBeans users need https://github.com/welovecoding/editorconfig-netbeans
## IDEA users have built-in support
root = true
# Global Rules (Applies to all files)
[*]
charset = utf-8
## The project uses Windows-style line-endings.
end_of_line = crlf
[*.java]
insert_final_newline = false
trim_trailing_whitespace = false
indent_size = 4
indent_style = tab
ij_java_class_count_to_use_import_on_demand = 999999
ij_java_names_count_to_use_import_on_demand = 999999
# Tab-sensitive files, use spaces from here on out
## YAML 1.2 Spec (https://yaml.org/spec/1.2/spec.html)
## Markdownlint (https://github.com/DavidAnson/markdownlint#rules--aliases)
[*.{yml,yaml,md}]
insert_final_newline = false
trim_trailing_whitespace = false
indent_style = space
indent_size = 4
## See Maven Code Style and Code Conventions
## https://maven.apache.org/developers/conventions/code.html
[*.xml]
insert_final_newline = false
trim_trailing_whitespace = true
indent_style = space
indent_size = 4