加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
stylecop.json 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
{
"$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"
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化