暫無描述

Settings.StyleCop 8.1KB

    <StyleCopSettings Version="4.3"> <Analyzers> <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.NamingRules"> <Rules> <Rule Name="ElementMustBeginWithUpperCaseLetter"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="ElementMustBeginWithLowerCaseLetter"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="InterfaceNamesMustBeginWithI"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="ConstFieldNamesMustBeginWithUpperCaseLetter"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="FieldNamesMustNotUseHungarianNotation"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="FieldNamesMustBeginWithLowerCaseLetter"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="AccessibleFieldsMustBeginWithUpperCaseLetter"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="VariableNamesMustNotBePrefixed"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="FieldNamesMustNotBeginWithUnderscore"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="FieldNamesMustNotContainUnderscore"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> </Rules> <AnalyzerSettings /> </Analyzer> <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.ReadabilityRules"> <Rules> <Rule Name="DoNotPlaceRegionsWithinElements"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="OpeningParenthesisMustBeOnDeclarationLine"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="ClosingParenthesisMustBeOnLineOfLastParameter"> <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.StyleCop.CSharp.DocumentationRules"> <Rules> <Rule Name="PropertyDocumentationMustHaveValueText"> <RuleSettings> <BooleanProperty Name="Enabled">True</BooleanProperty> </RuleSettings> </Rule> <Rule Name="DocumentationTextMustBeginWithACapitalLetter"> <RuleSettings> <BooleanProperty Name="Enabled">True</BooleanProperty> </RuleSettings> </Rule> <Rule Name="DocumentationTextMustEndWithAPeriod"> <RuleSettings> <BooleanProperty Name="Enabled">True</BooleanProperty> </RuleSettings> </Rule> <Rule Name="FileMustHaveHeader"> <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="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="EnumerationItemsMustBeDocumented"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="ElementsMustBeDocumented"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="DocumentationTextMustContainWhitespace"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="DocumentationTextMustMeetMinimumCharacterLength"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> </Rules> <AnalyzerSettings /> </Analyzer> <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.OrderingRules"> <Rules> <Rule Name="ElementsMustBeOrderedByAccess"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="ElementsMustAppearInTheCorrectOrder"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="UsingDirectivesMustBePlacedWithinNamespace"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> </Rules> <AnalyzerSettings /> </Analyzer> <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.LayoutRules"> <Rules> <Rule Name="SingleLineCommentsMustNotBeFollowedByBlankLine"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> </Rules> <AnalyzerSettings /> </Analyzer> <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.MaintainabilityRules"> <Rules> <Rule Name="StatementMustNotUseUnnecessaryParenthesis"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> </Rules> <AnalyzerSettings /> </Analyzer> <Analyzer AnalyzerId="Microsoft.StyleCop.CSharp.SpacingRules"> <Rules> <Rule Name="SingleLineCommentsMustBeginWithSingleSpace"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="OpeningParenthesisMustBeSpacedCorrectly"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> <Rule Name="ClosingParenthesisMustBeSpacedCorrectly"> <RuleSettings> <BooleanProperty Name="Enabled">False</BooleanProperty> </RuleSettings> </Rule> </Rules> <AnalyzerSettings /> </Analyzer> </Analyzers> </StyleCopSettings>