-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
39 lines (29 loc) · 1012 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
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
trim_trailing_whitespace = true
[*.{md,mdx}]
trim_trailing_whitespace = false
# YAML Files
[*.{yml,yaml}]
indent_size = 2
end_of_line = crlf
# Web Files
[*.{js,json,ts,css}]
indent_size = 2
[*.cs]
# CA1812: Program is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it static (Shared in Visual Basic).
dotnet_diagnostic.CA1812.severity = none
# CA1848: Use the LoggerMessage delegates
dotnet_diagnostic.CA1848.severity = none
# CA1062: Validate arguments of public methods
# Justification:
# Since,
# * Nullable reference is enabled on the project
# * Warnings are treated as errors
# * No code in this repo is meant for public consumption
# non-nullable arguments of public methods will never be null
# and nullable arguements will always be checked before use
dotnet_diagnostic.CA1062.severity = none