forked from Broadshield/gajira-find-issue-key
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.editorconfig
61 lines (49 loc) · 1.25 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
root=true
[*]
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
[{**/dist/**,**/build/**,**/node_modules/**,**/vendor/**,**/target/**}]
indent_style = ignore
indent_size = ignore
insert_final_newline = ignore
trim_trailing_whitespace = ignore
# Makefiles always use tabs for indentation
[**/Makefile*]
indent_style = tab
indent_size = 8
# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
# Batch files use tabs for indentation
[*.bat]
indent_style = tab
[docs/**.txt]
max_line_length = 79
# Docstrings and comments use max_line_length = 79
[*.py]
max_line_length = 88
# Use 2 spaces for the HTML files
[*.html]
indent_size = 2
# The JSON files contain newlines inconsistently
[*.json]
indent_size = 2
insert_final_newline = ignore
# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
[{*.yml,*.yaml,package.json}]
indent_style = space
indent_size = 2
[*.{groovy,java,kt,xml,gradle,scala,groovy.kts,kts}]
indent_style = space
indent_size = 4
continuation_indent_size = 8
[*.gradle]
indent_style = tab
indent_size = 4
continuation_indent_size = 8