1
0
Форкнуть 0
This commit is contained in:
David Duffy 2016-08-15 09:09:31 -07:00
Родитель 60a28106c5
Коммит 4eb0c34192
2 изменённых файлов: 89 добавлений и 1 удалений

Просмотреть файл

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="SDL Recommended Rules" Description="These rules focus on the most critical security problems in your code. You should include this rule set in any custom rule set you create for your projects." ToolsVersion="14.0">
<Rules AnalyzerId="Desktop.CSharp.Analyzers" RuleNamespace="Desktop.CSharp.Analyzers">
<Rule Id="CA1001" Action="Warning" />
<Rule Id="CA1009" Action="Warning" />
<Rule Id="CA1016" Action="Warning" />
<Rule Id="CA1033" Action="Warning" />
<Rule Id="CA1049" Action="Warning" />
<Rule Id="CA1060" Action="Warning" />
<Rule Id="CA1061" Action="Warning" />
<Rule Id="CA1063" Action="Warning" />
<Rule Id="CA1065" Action="Warning" />
<Rule Id="CA1301" Action="Warning" />
<Rule Id="CA1400" Action="Warning" />
<Rule Id="CA1401" Action="Warning" />
<Rule Id="CA1403" Action="Warning" />
<Rule Id="CA1404" Action="Warning" />
<Rule Id="CA1405" Action="Warning" />
<Rule Id="CA1410" Action="Warning" />
<Rule Id="CA1415" Action="Warning" />
<Rule Id="CA1821" Action="Warning" />
<Rule Id="CA1900" Action="Warning" />
<Rule Id="CA1901" Action="Warning" />
<Rule Id="CA2002" Action="Warning" />
<Rule Id="CA2100" Action="Warning" />
<Rule Id="CA2101" Action="Warning" />
<Rule Id="CA2108" Action="Warning" />
<Rule Id="CA2111" Action="Warning" />
<Rule Id="CA2112" Action="Warning" />
<Rule Id="CA2114" Action="Warning" />
<Rule Id="CA2116" Action="Warning" />
<Rule Id="CA2117" Action="Warning" />
<Rule Id="CA2122" Action="Warning" />
<Rule Id="CA2123" Action="Warning" />
<Rule Id="CA2124" Action="Warning" />
<Rule Id="CA2126" Action="Warning" />
<Rule Id="CA2131" Action="Warning" />
<Rule Id="CA2132" Action="Warning" />
<Rule Id="CA2133" Action="Warning" />
<Rule Id="CA2134" Action="Warning" />
<Rule Id="CA2137" Action="Warning" />
<Rule Id="CA2138" Action="Warning" />
<Rule Id="CA2140" Action="Warning" />
<Rule Id="CA2141" Action="Warning" />
<Rule Id="CA2146" Action="Warning" />
<Rule Id="CA2147" Action="Warning" />
<Rule Id="CA2149" Action="Warning" />
<Rule Id="CA2200" Action="Warning" />
<Rule Id="CA2202" Action="Warning" />
<Rule Id="CA2207" Action="Warning" />
<Rule Id="CA2212" Action="Warning" />
<Rule Id="CA2213" Action="Warning" />
<Rule Id="CA2214" Action="Warning" />
<Rule Id="CA2216" Action="Warning" />
<Rule Id="CA2220" Action="Warning" />
<Rule Id="CA2229" Action="Warning" />
<Rule Id="CA2231" Action="Warning" />
<Rule Id="CA2232" Action="Warning" />
<Rule Id="CA2235" Action="Warning" />
<Rule Id="CA2236" Action="Warning" />
<Rule Id="CA2237" Action="Warning" />
<Rule Id="CA2238" Action="Warning" />
<Rule Id="CA2240" Action="Warning" />
<Rule Id="CA2241" Action="Warning" />
<Rule Id="CA2242" Action="Warning" />
<Rule Id="CA2153" Action="Warning" />
<Rule Id="CA3075" Action="Warning" />
<Rule Id="CA3076" Action="Warning" />
<Rule Id="CA3077" Action="Warning" />
<Rule Id="CA5350" Action="Warning" />
<Rule Id="CA5351" Action="Warning" />
</Rules>
</RuleSet>

Просмотреть файл

@ -20,13 +20,28 @@
"delaySign": true
},
"dependencies": {
"Desktop.Analyzers": "1.2.0-beta2",
"Microsoft.ApiDesignGuidelines.Analyzers": "1.2.0-beta2",
"Microsoft.ApplicationInsights": "2.1.0",
"Microsoft.AspNetCore.Hosting.Abstractions": "1.0.0",
"Microsoft.AspNetCore.Http.Abstractions": "1.0.0",
"Microsoft.AspNetCore.Mvc.ViewFeatures": "1.0.0",
"Microsoft.CodeAnalysis.Analyzers": "1.2.0-beta2",
"Microsoft.Composition.Analyzers": "1.2.0-beta2",
"Microsoft.Extensions.Configuration": "1.0.0",
"Microsoft.Extensions.DiagnosticAdapter": "1.0.0",
"Microsoft.Extensions.Logging.Abstractions": "1.0.0"
"Microsoft.Extensions.Logging.Abstractions": "1.0.0",
"Microsoft.Maintainability.Analyzers": "1.2.0-beta2",
"Microsoft.QualityGuidelines.Analyzers": "1.2.0-beta2",
"Roslyn.Diagnostics.Analyzers": "1.2.0-beta2",
"System.Collections.Immutable.Analyzers": "1.2.0-beta2",
//"System.Resources.Analyzers": "1.2.0-beta2",
"System.Runtime.Analyzers": "1.2.0-beta2",
"System.Runtime.InteropServices.Analyzers": "1.2.0-beta2",
//"System.Security.Cryptography.Hashing.Algorithms.Analyzers": "1.2.0-beta2",
"System.Threading.Tasks.Analyzers": "1.2.0-beta2"
//"Text.Analyzers": "1.2.0-beta2",
//"XmlDocumentationComments.Analyzers": "1.2.0-beta2"
},
"frameworks": {