-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.editorconfig
54 lines (34 loc) · 1.61 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
# ATC coding rules - https://github.com/atc-net/atc-coding-rules
# Version: 1.0.9
# Updated: 01-02-2022
# Location: Atc.Rest.ApiGenerator.CodingRules
# Distribution: DotNet6
# Inspired by: https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options
##########################################
# Code Analyzers Rules
##########################################
[*.{cs,csx,cake}]
# AsyncFixer
# http://www.asyncfixer.com
# Asyncify
# https://github.com/hvanbakel/Asyncify-CSharp
# Meziantou
# https://www.meziantou.net/enforcing-asynchronous-code-good-practices-using-a-roslyn-analyzer.htm
# Microsoft - Code Analysis
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/
# Microsoft - Compiler Errors
# https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/
# SecurityCodeScan
# https://security-code-scan.github.io/
# StyleCop
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers
# SonarAnalyzer.CSharp
# https://rules.sonarsource.com/csharp
##########################################
# Custom - Code Analyzers Rules
##########################################
dotnet_diagnostic.CA1031.severity = none # Do not catch general exception types
dotnet_diagnostic.CA1062.severity = none # Validate arguments of public methods
dotnet_diagnostic.CA2007.severity = none # Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.MA0004.severity = none # Use Task.ConfigureAwait(false)
dotnet_diagnostic.S1075.severity = none # Refactor your code not to use hardcoded absolute paths or URIs