From 948e6838d6f0b625665aa21df2deab47f50f906e Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Sat, 6 Apr 2019 17:10:49 +0200 Subject: [PATCH] StyleCop and Jetbrains settings improvements * Enable StyleCop support for R#/Rider as per https://blog.jetbrains.com/dotnet/2018/09/24/roslyn-analyzer-rulesets-stylecop-json-support-rider-2018-2/ * Bring back EFCore.Runtime.sln.DotSettings (and other solution-specific setting files) which reference EFCore.sln.DotSettings to the other solutions --- EFCore.Cosmos.sln.DotSettings | 6 ++++++ EFCore.Runtime.sln.DotSettings | 6 ++++++ EFCore.ruleset | 3 ++- EFCore.sln.DotSettings | 1 + Microsoft.Data.Sqlite.sln.DotSettings | 6 ++++++ 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 EFCore.Cosmos.sln.DotSettings create mode 100644 EFCore.Runtime.sln.DotSettings create mode 100644 Microsoft.Data.Sqlite.sln.DotSettings diff --git a/EFCore.Cosmos.sln.DotSettings b/EFCore.Cosmos.sln.DotSettings new file mode 100644 index 00000000000..c94816de225 --- /dev/null +++ b/EFCore.Cosmos.sln.DotSettings @@ -0,0 +1,6 @@ + + ..\EFCore.sln.DotSettings + True + True + 1 + diff --git a/EFCore.Runtime.sln.DotSettings b/EFCore.Runtime.sln.DotSettings new file mode 100644 index 00000000000..c94816de225 --- /dev/null +++ b/EFCore.Runtime.sln.DotSettings @@ -0,0 +1,6 @@ + + ..\EFCore.sln.DotSettings + True + True + 1 + diff --git a/EFCore.ruleset b/EFCore.ruleset index b6bbea606d6..f67c1662794 100644 --- a/EFCore.ruleset +++ b/EFCore.ruleset @@ -133,6 +133,7 @@ + @@ -164,4 +165,4 @@ - \ No newline at end of file + diff --git a/EFCore.sln.DotSettings b/EFCore.sln.DotSettings index cb2eedee735..95a16b5c731 100644 --- a/EFCore.sln.DotSettings +++ b/EFCore.sln.DotSettings @@ -29,6 +29,7 @@ WARNING WARNING WARNING + True <?xml version="1.0" encoding="utf-16"?><Profile name="EntityFramework"><HtmlReformatCode>True</HtmlReformatCode><CSArrangeThisQualifier>True</CSArrangeThisQualifier><CSRemoveCodeRedundancies>True</CSRemoveCodeRedundancies><CSUseAutoProperty>True</CSUseAutoProperty><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSUseVar><BehavourStyle>CAN_CHANGE_TO_IMPLICIT</BehavourStyle><LocalVariableStyle>ALWAYS_IMPLICIT</LocalVariableStyle><ForeachVariableStyle>ALWAYS_IMPLICIT</ForeachVariableStyle></CSUseVar><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><CSShortenReferences>True</CSShortenReferences><CSReformatCode>True</CSReformatCode><XMLReformatCode>True</XMLReformatCode><CSUpdateFileHeader>True</CSUpdateFileHeader><CSharpFormatDocComments>True</CSharpFormatDocComments><RemoveCodeRedundancies>True</RemoveCodeRedundancies><CSMakeAutoPropertyGetOnly>True</CSMakeAutoPropertyGetOnly><CSArrangeQualifiers>True</CSArrangeQualifiers><CSEnforceVarKeywordUsageSettings>True</CSEnforceVarKeywordUsageSettings><CSFixBuiltinTypeReferences>True</CSFixBuiltinTypeReferences><CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" RemoveRedundantParentheses="False" AddMissingParentheses="False" ArrangeBraces="False" ArrangeAttributes="True" ArrangeArgumentsStyle="False" /></Profile> diff --git a/Microsoft.Data.Sqlite.sln.DotSettings b/Microsoft.Data.Sqlite.sln.DotSettings new file mode 100644 index 00000000000..c94816de225 --- /dev/null +++ b/Microsoft.Data.Sqlite.sln.DotSettings @@ -0,0 +1,6 @@ + + ..\EFCore.sln.DotSettings + True + True + 1 +