Debian Codegraph @

modules/mono/glue/GodotSharp/.editorconfig

raw
1 # This file should only contain severity override to diagnostics, in order to make generated and
2 # interop code compilation readable. We want to limit the scope of suppression as much as possible.
3
4 [**/Generated/**.cs]
5 # IDE1006: Naming rule violation
6 dotnet_diagnostic.IDE1006.severity = none
7 # CA1062: Validate parameter is non-null before using it
8 # Useful for generated code, as it disables nullable
9 dotnet_diagnostic.CA1062.severity = error
10 # CA1069: Enums should not have duplicate values
11 dotnet_diagnostic.CA1069.severity = none
12 # CA1707: Identifiers should not contain underscores
13 dotnet_diagnostic.CA1707.severity = none
14 # CA1708: Identifiers should differ by more than case
15 dotnet_diagnostic.CA1708.severity = none
16 # CA1711: Identifiers should not have incorrect suffix
17 # Disable warning for suffixes like EventHandler, Flags, Enum, etc.
18 dotnet_diagnostic.CA1711.severity = none
19 # CA1716: Identifiers should not match keywords
20 # This is suppressed, because it will report `@event` as well as `event`
21 dotnet_diagnostic.CA1716.severity = none
22 # CA1720: Identifiers should not contain type names
23 dotnet_diagnostic.CA1720.severity = none
24 # CS1591: Missing XML comment for publicly visible type or member
25 dotnet_diagnostic.CS1591.severity = none
26 # CS1573: Parameter has no matching param tag in the XML comment
27 dotnet_diagnostic.CS1573.severity = none
28 # TODO: Temporary change to not pollute the warnings, but this denotes with ou doc generation
29 # CS1734: XML comment on '' has a paramref tag for '', but there is no parameter by that name
30 dotnet_diagnostic.CS1734.severity = none
31
32 [GodotSharp/Core/NativeInterop/**.cs]
33 # CA1720: Identifiers should not contain type names
34 dotnet_diagnostic.CA1720.severity = none
35
36 [GodotSharp/Core/**.cs]
37 # CS1591: Missing XML comment for publicly visible type or member
38 # TODO: Temporary change to not pollute the warnings, but we need to document public APIs
39 dotnet_diagnostic.CS1591.severity = suggestion