Download PowerShell-master/Settings.StyleCop from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 8.09 kB
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/Settings.StyleCop
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/Settings.StyleCop
-
curl -L -o Settings.StyleCop https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/Settings.StyleCop
8.09 kB
| <StyleCopSettings Version="105"> | |
| <Analyzers> | |
| <Analyzer AnalyzerId="StyleCop.CSharp.MaintainabilityRules"> | |
| <Rules> | |
| <Rule Name="FileMayOnlyContainASingleNamespace"> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="FileMayOnlyContainASingleClass"> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="FieldsMustBePrivate"> | |
| <!-- it's OK to have internal or public fields --> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="CodeAnalysisSuppressionMustHaveJustification"> | |
| <!-- code analysis SuppressMessage attributes are from legacy code, | |
| it's OK to not include a justification. --> | |
| <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> | |
| </Rules> | |
| <AnalyzerSettings /> | |
| </Analyzer> | |
| <Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules"> | |
| <Rules> | |
| <Rule Name="ElementsMustBeDocumented"> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="PartialElementsMustBeDocumented"> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</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="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> | |
| </Rules> | |
| <AnalyzerSettings> | |
| <BooleanProperty Name="IgnorePrivates">True</BooleanProperty> | |
| <BooleanProperty Name="IgnoreInternals">True</BooleanProperty> | |
| </AnalyzerSettings> | |
| </Analyzer> | |
| <Analyzer AnalyzerId="StyleCop.CSharp.NamingRules"> | |
| <Rules> | |
| <Rule Name="FieldNamesMustNotBeginWithUnderscore"> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="VariableNamesMustNotBePrefixed"> | |
| <!-- this rule disallows the prefix 's_' to static fields --> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="StaticReadonlyFieldsMustBeginWithUpperCaseLetter"> | |
| <!-- this rule requires first letter upper-case even for private fields --> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="FieldNamesMustNotContainUnderscore"> | |
| <!-- this rule disallows '_' in field name --> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter"> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| </Rules> | |
| <AnalyzerSettings> | |
| <CollectionProperty Name="Hungarian"> | |
| <Value>as</Value> | |
| <Value>at</Value> | |
| <Value>by</Value> | |
| <Value>do</Value> | |
| <Value>go</Value> | |
| <Value>if</Value> | |
| <Value>in</Value> | |
| <Value>is</Value> | |
| <Value>it</Value> | |
| <Value>no</Value> | |
| <Value>of</Value> | |
| <Value>on</Value> | |
| <Value>or</Value> | |
| <Value>to</Value> | |
| <Value>n</Value> | |
| <Value>r</Value> | |
| <Value>l</Value> | |
| <Value>i</Value> | |
| <Value>io</Value> | |
| <Value>fs</Value> | |
| <Value>lp</Value> | |
| <Value>dw</Value> | |
| <Value>h</Value> | |
| <Value>rs</Value> | |
| <Value>ps</Value> | |
| <Value>op</Value> | |
| <Value>my</Value> | |
| <Value>sb</Value> | |
| <Value>vt</Value> | |
| </CollectionProperty> | |
| </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="StaticElementsMustAppearBeforeInstanceElements"> | |
| <!-- it's OK to have static members after instance members --> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| </Rules> | |
| <AnalyzerSettings /> | |
| </Analyzer> | |
| <Analyzer AnalyzerId="StyleCop.CSharp.LayoutRules"> | |
| <Rules> | |
| <Rule Name="ElementMustNotBeOnSingleLine"> | |
| <!-- it's OK to have simple member on a single line. | |
| think about the 'Visit*' methods in Ast visitor class. --> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| <Rule Name="AllAccessorsMustBeSingleLineOrMultiLine"> | |
| <!-- it's OK to have the getter be on a single line and the | |
| setter be on multiple lines, or vice versa --> | |
| <RuleSettings> | |
| <BooleanProperty Name="Enabled">False</BooleanProperty> | |
| </RuleSettings> | |
| </Rule> | |
| </Rules> | |
| <AnalyzerSettings /> | |
| </Analyzer> | |
| </Analyzers> | |
| </StyleCopSettings> | |