-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.editorconfig
96 lines (69 loc) · 1.72 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# https://editorconfig.org/
root = true
[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
csharp_space_between_method_declaration_name_and_open_parenthesis=true
csharp_space_between_method_call_parameter_list_parentheses=false
# 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
[**/web/solr/**]
indent_style = ignore
indent_size = ignore
[**/web/wwwroot/lib/**]
indent_style = ignore
indent_size = ignore
[**/web/static/font/**]
indent_style = ignore
indent_size = ignore
[**/web/static/css/**]
indent_style = ignore
indent_size = ignore
# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab
# Batch files use tabs for indentation
[*.bat]
indent_style = tab
[*.yml]
indent_size = 2
indent_style = space
[*.snyk]
indent_size = 2
indent_style = space
[*.yaml]
indent_size = 2
indent_style = space
[*.scss]
indent_size = 2
[*.csproj]
indent_size = 2
[*.js]
indent_size = 2
[.releaserc]
indent_size = 2
[*.cs]
# Extract this nested ternary operation into an independent statement
dotnet_diagnostic.S3358.severity = None
# Extract this nested code block into a separate method.
dotnet_diagnostic.S1199.severity = None
# Rename class 'DpDataInitiative__Metadata' to match pascal case naming rules
dotnet_diagnostic.S101.severity = None
# Supply an implementation for this partial method.
dotnet_diagnostic.S3251.severity = None