From 6118c37ce378cb1e092b1773568848ad79f67e09 Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 5 Apr 2019 22:56:21 +0500 Subject: [PATCH] Fix stylecop hungarian (#9281) Add very popular "is" and "_is" prefixes. --- Settings.StyleCop | 31 ++++++++++++++++++++++++++++++- stylecop.json | 2 +- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/Settings.StyleCop b/Settings.StyleCop index bb65d39f6e..4d471946c6 100644 --- a/Settings.StyleCop +++ b/Settings.StyleCop @@ -127,7 +127,36 @@ - + + + as + at + by + do + go + if + in + is + it + no + of + on + or + to + n + r + l + i + io + fs + lp + dw + h + rs + ps + op + + diff --git a/stylecop.json b/stylecop.json index b4d772bbe2..cc46a54207 100644 --- a/stylecop.json +++ b/stylecop.json @@ -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" : [