From b5f3cb1f350ea0be26c6ae05ea70f729dcdf19d7 Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 3 Apr 2019 10:33:36 +0500 Subject: [PATCH 1/4] Add "is" to allowedHungarianPrefixes --- stylecop.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylecop.json b/stylecop.json index b4d772bbe23..cc46a542077 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" : [ From 494e977c84157f51b63985d35d5866f4eddebfed Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 3 Apr 2019 13:56:27 +0500 Subject: [PATCH 2/4] Add "_is" --- stylecop.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylecop.json b/stylecop.json index cc46a542077..af650b31f92 100644 --- a/stylecop.json +++ b/stylecop.json @@ -25,7 +25,7 @@ }, "namingRules" : { "allowCommonHungarianPrefixes" : true, - "allowedHungarianPrefixes" : [ "n", "r", "l", "i", "io", "is", "fs", "lp", "dw", "h", "rs", "ps", "op" ] + "allowedHungarianPrefixes" : [ "n", "r", "l", "i", "io", "is", "_is", "fs", "lp", "dw", "h", "rs", "ps", "op" ] }, "maintainabilityRules" : { "topLevelTypes" : [ From 333b55ea06c4c6a6508f7e0747c107e34209b9da Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 5 Apr 2019 17:32:00 +0500 Subject: [PATCH 3/4] Revert "Add "_is"" This reverts commit 494e977c84157f51b63985d35d5866f4eddebfed. --- stylecop.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylecop.json b/stylecop.json index af650b31f92..cc46a542077 100644 --- a/stylecop.json +++ b/stylecop.json @@ -25,7 +25,7 @@ }, "namingRules" : { "allowCommonHungarianPrefixes" : true, - "allowedHungarianPrefixes" : [ "n", "r", "l", "i", "io", "is", "_is", "fs", "lp", "dw", "h", "rs", "ps", "op" ] + "allowedHungarianPrefixes" : [ "n", "r", "l", "i", "io", "is", "fs", "lp", "dw", "h", "rs", "ps", "op" ] }, "maintainabilityRules" : { "topLevelTypes" : [ From 5848cfa6c086ea0ae86ce73de8016949104a2d1a Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 5 Apr 2019 17:43:35 +0500 Subject: [PATCH 4/4] Hungarian in Settings.StyleCop --- Settings.StyleCop | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/Settings.StyleCop b/Settings.StyleCop index bb65d39f6e9..4d471946c64 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 + +