8000 Fix stylecop hungarian by iSazonov · Pull Request #9281 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion Settings.StyleCop
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,36 @@
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
<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>
</CollectionProperty>
</AnalyzerSettings>
</Analyzer>
<Analyzer AnalyzerId="StyleCop.CSharp.OrderingRules">
<Rules>
Expand Down
2 changes: 1 addition & 1 deletion stylecop.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"namingRules" : {
"allowCommonHungarianPrefixes" : true,
"allowedHungarianPrefixes" : [ "n", "r", "l", "i", "io", "fs", "lp", "dw", "h", "rs", "ps", "op" ]
"allowedHungarianPrefixes" : [ "n", "r", "l", "i", "io", "is", "fs", "lp", "dw", "h", "rs", "ps", "op" ]
},
"maintainabilityRules" : {
"topLevelTypes" : [
Expand Down
0