From 74b71f2f39820a769e624c8cc29b4183ea6b352b Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 2 Apr 2019 22:09:56 -0700 Subject: [PATCH] Style: Update StyleCop rules (#8500) --- Settings.StyleCop | 61 ++++++++++++++++++++++++++++++++++++++++++++++- stylecop.json | 2 +- 2 files changed, 61 insertions(+), 2 deletions(-) diff --git a/Settings.StyleCop b/Settings.StyleCop index 4df1222193..bb65d39f6e 100644 --- a/Settings.StyleCop +++ b/Settings.StyleCop @@ -12,6 +12,19 @@ False + + + + False + + + + + + False + + @@ -83,7 +96,10 @@ - + + True + True + @@ -92,6 +108,24 @@ False + + + + False + + + + + + False + + + + + + False + + @@ -117,6 +151,31 @@ False + + + + False + + + + + + + + + + + False + + + + + + False + + diff --git a/stylecop.json b/stylecop.json index aec3dca80d..b4d772bbe2 100644 --- a/stylecop.json +++ b/stylecop.json @@ -25,7 +25,7 @@ }, "namingRules" : { "allowCommonHungarianPrefixes" : true, - "allowedHungarianPrefixes" : [ "c", "r" ] + "allowedHungarianPrefixes" : [ "n", "r", "l", "i", "io", "fs", "lp", "dw", "h", "rs", "ps", "op" ] }, "maintainabilityRules" : { "topLevelTypes" : [