Skip to content

Instantly share code, notes, and snippets.

@jonlabelle
Forked from sneal/Settings.StyleCop
Last active February 26, 2021 10:46
Show Gist options
  • Save jonlabelle/b77252000469bed27f8ba3fd050fcdae to your computer and use it in GitHub Desktop.
Save jonlabelle/b77252000469bed27f8ba3fd050fcdae to your computer and use it in GitHub Desktop.

Revisions

  1. jonlabelle revised this gist Oct 6, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Settings.StyleCop
    Original file line number Diff line number Diff line change
    @@ -319,4 +319,4 @@
    <AnalyzerSettings />
    </Analyzer>
    </Analyzers>
    </StyleCopSettings>
    </StyleCopSettings>
  2. jonlabelle revised this gist Oct 6, 2018. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions Settings.StyleCop
    Original file line number Diff line number Diff line change
    @@ -3,10 +3,6 @@
    <CollectionProperty Name="RecognizedWords">
    <Value>upsert</Value>
    <Value>api</Value>
    <Value>Changepoint</Value>
    <Value>Changepoint's</Value>
    <Value>Daptiv</Value>
    <Value>Daptiv's</Value>
    <Value>deserializer</Value>
    <Value>deserializing</Value>
    <Value>json</Value>
  3. @sneal sneal created this gist Mar 27, 2015.
    326 changes: 326 additions & 0 deletions Settings.StyleCop
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,326 @@
    <StyleCopSettings Version="105">
    <GlobalSettings>
    <CollectionProperty Name="RecognizedWords">
    <Value>upsert</Value>
    <Value>api</Value>
    <Value>Changepoint</Value>
    <Value>Changepoint's</Value>
    <Value>Daptiv</Value>
    <Value>Daptiv's</Value>
    <Value>deserializer</Value>
    <Value>deserializing</Value>
    <Value>json</Value>
    <Value>json:api</Value>
    </CollectionProperty>
    <BooleanProperty Name="WriteCache">False</BooleanProperty>
    <BooleanProperty Name="AutoCheckForUpdate">False</BooleanProperty>
    <BooleanProperty Name="ViolationsAsErrors">True</BooleanProperty>
    </GlobalSettings>
    <Analyzers>
    <Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules">
    <Rules>
    <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="FileHeaderFileNameDocumentationMustMatchTypeName">
    <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="DocumentationTextMustContainWhitespace">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    <Rule Name="DocumentationMustMeetCharacterPercentage">
    <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="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>
    </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="ProtectedMustComeBeforeInternal">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    </Rules>
    <AnalyzerSettings />
    </Analyzer>
    <Analyzer AnalyzerId="StyleCop.CSharp.LayoutRules">
    <Rules>
    <Rule Name="ClosingCurlyBracketMustBeFollowedByBlankLine">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    <Rule Name="ElementMustNotBeOnSingleLine">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    <Rule Name="SingleLineCommentsMustNotBeFollowedByBlankLine">
    <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.NamingRules">
    <Rules>
    <Rule Name="FieldNamesMustNotBeginWithUnderscore">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    <Rule Name="ConstFieldNamesMustBeginWithUpperCaseLetter">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    <Rule Name="FieldNamesMustNotUseHungarianNotation">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    </Rules>
    <AnalyzerSettings />
    </Analyzer>
    <Analyzer AnalyzerId="StyleCop.CSharp.ReadabilityRules">
    <Rules>
    <Rule Name="PrefixLocalCallsWithThis">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    <Rule Name="PrefixCallsCorrectly">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    <Rule Name="UseStringEmptyForEmptyStrings">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    </Rules>
    <AnalyzerSettings />
    </Analyzer>
    <Analyzer AnalyzerId="StyleCop.CSharp.MaintainabilityRules">
    <Rules>
    <Rule Name="FieldsMustBePrivate">
    <RuleSettings>
    <BooleanProperty Name="Enabled">False</BooleanProperty>
    </RuleSettings>
    </Rule>
    </Rules>
    <AnalyzerSettings />
    </Analyzer>
    </Analyzers>
    </StyleCopSettings>