зеркало из https://github.com/aspnet/Mvc.git
455 строки
17 KiB
XML
455 строки
17 KiB
XML
<StyleCopSettings Version="105">
|
|
<GlobalSettings>
|
|
<StringProperty Name="MergeSettingsFiles">NoMerge</StringProperty>
|
|
</GlobalSettings>
|
|
<Parsers>
|
|
<Parser ParserId="StyleCop.CSharp.CsParser">
|
|
<ParserSettings>
|
|
<BooleanProperty Name="AnalyzeDesignerFiles">False</BooleanProperty>
|
|
</ParserSettings>
|
|
</Parser>
|
|
</Parsers>
|
|
<Analyzers>
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.NamingRules">
|
|
<Rules>
|
|
<Rule Name="ConstFieldNamesMustBeginWithUpperCaseLetter">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FieldNamesMustNotBeginWithUnderscore">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FieldNamesMustNotUseHungarianNotation">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="StaticReadonlyFieldsMustBeginWithUpperCaseLetter">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
</Rules>
|
|
<AnalyzerSettings>
|
|
<CollectionProperty Name="Hungarian">
|
|
<Value>as</Value>
|
|
<Value>db</Value>
|
|
<Value>dc</Value>
|
|
<Value>do</Value>
|
|
<Value>ef</Value>
|
|
<Value>id</Value>
|
|
<Value>if</Value>
|
|
<Value>in</Value>
|
|
<Value>is</Value>
|
|
<Value>my</Value>
|
|
<Value>no</Value>
|
|
<Value>on</Value>
|
|
<Value>sl</Value>
|
|
<Value>to</Value>
|
|
<Value>ui</Value>
|
|
<Value>vs</Value>
|
|
</CollectionProperty>
|
|
</AnalyzerSettings>
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules">
|
|
<Rules>
|
|
<Rule Name="FileMustHaveHeader">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FileHeaderMustContainFileName">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FileHeaderFileNameDocumentationMustMatchFileName">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FileHeaderMustHaveValidCompanyText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ConstructorSummaryDocumentationMustBeginWithStandardText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="DestructorSummaryDocumentationMustBeginWithStandardText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="DocumentationHeadersMustNotContainBlankLines">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementsMustBeDocumented">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="PartialElementsMustBeDocumented">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="EnumerationItemsMustBeDocumented">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="DocumentationMustContainValidXml">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementDocumentationMustHaveSummary">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="PartialElementDocumentationMustHaveSummary">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementDocumentationMustHaveSummaryText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="PartialElementDocumentationMustHaveSummaryText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementDocumentationMustNotHaveDefaultSummary">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementParametersMustBeDocumented">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementParameterDocumentationMustMatchElementParameters">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementParameterDocumentationMustDeclareParameterName">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementParameterDocumentationMustHaveText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementReturnValueMustBeDocumented">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementReturnValueDocumentationMustHaveText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="VoidReturnValueMustNotBeDocumented">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="GenericTypeParametersMustBeDocumented">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="GenericTypeParametersMustBeDocumentedPartialClass">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="GenericTypeParameterDocumentationMustMatchTypeParameters">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="GenericTypeParameterDocumentationMustDeclareParameterName">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="GenericTypeParameterDocumentationMustHaveText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="PropertySummaryDocumentationMustMatchAccessors">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="PropertySummaryDocumentationMustOmitSetAccessorWithRestrictedAccess">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementDocumentationMustNotBeCopiedAndPasted">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="SingleLineCommentsMustNotUseDocumentationStyleSlashes">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="DocumentationTextMustNotBeEmpty">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="DocumentationTextMustContainWhitespace">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="DocumentationMustMeetCharacterPercentage">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="IncludedDocumentationXPathDoesNotExist">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="IncludeNodeDoesNotContainValidFileAndPath">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="InheritDocMustBeUsedWithInheritingClass">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FileHeaderMustShowCopyright">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FileHeaderMustHaveCopyrightText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FileHeaderFileNameDocumentationMustMatchTypeName">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
</Rules>
|
|
<AnalyzerSettings>
|
|
<BooleanProperty Name="IgnorePrivates">True</BooleanProperty>
|
|
<BooleanProperty Name="IgnoreInternals">True</BooleanProperty>
|
|
</AnalyzerSettings>
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.ReadabilityRules">
|
|
<Rules>
|
|
<Rule Name="OpeningParenthesisMustBeOnDeclarationLine">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ParameterMustNotSpanMultipleLines">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="UseStringEmptyForEmptyStrings">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="PrefixCallsCorrectly">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="PrefixLocalCallsWithThis">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ParameterMustFollowComma">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="SplitParametersMustStartOnLineAfterDeclaration">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ParametersMustBeOnSameLineOrSeparateLines">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="UseBuiltInTypeAlias">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
</Rules>
|
|
<AnalyzerSettings />
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="Microsoft.Web.StyleCop.Rules">
|
|
<AnalyzerSettings>
|
|
<StringProperty Name="FileHeaderText"> Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.</StringProperty>
|
|
</AnalyzerSettings>
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.LayoutRules">
|
|
<Rules>
|
|
<Rule Name="AllAccessorsMustBeMultiLineOrSingleLine">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="SingleLineCommentsMustNotBeFollowedByBlankLine">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ClosingCurlyBracketMustBeFollowedByBlankLine">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="SingleLineCommentMustBePrecededByBlankLine">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementsMustBeSeparatedByBlankLine">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
</Rules>
|
|
<AnalyzerSettings />
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.MaintainabilityRules">
|
|
<Rules>
|
|
<Rule Name="ConditionalExpressionsMustDeclarePrecedence">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="FieldsMustBePrivate">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="DebugAssertMustProvideMessageText">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="StatementMustNotUseUnnecessaryParenthesis">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
</Rules>
|
|
<AnalyzerSettings />
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.OrderingRules">
|
|
<Rules>
|
|
<Rule Name="UsingDirectivesMustBePlacedWithinNamespace">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementsMustAppearInTheCorrectOrder">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ElementsMustBeOrderedByAccess">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ConstantsMustAppearBeforeFields">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="InstanceReadonlyElementsMustAppearBeforeInstanceNonReadonlyElements">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="StaticElementsMustAppearBeforeInstanceElements">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="StaticReadonlyElementsMustAppearBeforeStaticNonReadonlyElements">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
</Rules>
|
|
<AnalyzerSettings />
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="StyleCop.CSharp.SpacingRules">
|
|
<Rules>
|
|
<Rule Name="SingleLineCommentsMustBeginWithSingleSpace">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
|
|
<!-- Creates a lot of noise with anonymous objects -->
|
|
<Rule Name="OpeningCurlyBracketsMustBeSpacedCorrectly">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
<Rule Name="ClosingCurlyBracketsMustBeSpacedCorrectly">
|
|
<RuleSettings>
|
|
<BooleanProperty Name="Enabled">False</BooleanProperty>
|
|
</RuleSettings>
|
|
</Rule>
|
|
</Rules>
|
|
<AnalyzerSettings />
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="StyleCop.KRules.FileHeaderRule">
|
|
<Rules />
|
|
<AnalyzerSettings>
|
|
<StringProperty Name="FileHeaderText"> Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.</StringProperty>
|
|
</AnalyzerSettings>
|
|
</Analyzer>
|
|
<Analyzer AnalyzerId="StyleCop.KRules.LineLengthRule">
|
|
<Rules />
|
|
<AnalyzerSettings>
|
|
<IntegerProperty Name="LineLength">120</IntegerProperty>
|
|
</AnalyzerSettings>
|
|
</Analyzer>
|
|
</Analyzers>
|
|
</StyleCopSettings> |