mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 17:53:58 +08:00
53 lines
1.8 KiB
JSON
53 lines
1.8 KiB
JSON
{
|
|
"$schema" : "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
|
|
"settings" : {
|
|
"indentation" : {
|
|
"indentationSize" : 4,
|
|
"tabSize" : 4,
|
|
"useTabs" : false
|
|
},
|
|
"spacingRules" : {
|
|
},
|
|
"readabilityRules" : {
|
|
"allowBuiltInTypeAliases" : true
|
|
},
|
|
"orderingRules" : {
|
|
"elementOrder" : [
|
|
"kind",
|
|
"constant",
|
|
"accessibility",
|
|
"static",
|
|
"readonly"
|
|
],
|
|
"systemUsingDirectivesFirst" : true,
|
|
"usingDirectivesPlacement" : "outsideNamespace",
|
|
"blankLinesBetweenUsingGroups" : "allow"
|
|
},
|
|
"namingRules" : {
|
|
"allowCommonHungarianPrefixes" : true,
|
|
"allowedHungarianPrefixes" : [ "n", "r", "l", "i", "io", "is", "fs", "lp", "dw", "h", "rs", "ps", "op", "sb", "my" ]
|
|
},
|
|
"maintainabilityRules" : {
|
|
"topLevelTypes" : [
|
|
"class",
|
|
"interface"
|
|
]
|
|
},
|
|
"layoutRules" : {
|
|
"newlineAtEndOfFile" : "require",
|
|
"allowConsecutiveUsings" : false
|
|
},
|
|
"documentationRules" : {
|
|
"copyrightText" : "Copyright (c) Microsoft Corporation.\nLicensed under the MIT License.",
|
|
"xmlHeader" : false,
|
|
"documentInterfaces" : true,
|
|
"documentExposedElements" : true,
|
|
"documentInternalElements" : false,
|
|
"documentPrivateElements" : false,
|
|
"documentPrivateFields" : false,
|
|
"documentationCulture" : "en-US",
|
|
"fileNamingConvention" : "stylecop"
|
|
}
|
|
}
|
|
}
|