diff --git a/OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs b/OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs index cf936aab2b..de5614d18b 100644 --- a/OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs +++ b/OpenRA.Mods.Common/UtilityCommands/CheckCodeStyle.cs @@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.UtilityCommands var console = new StyleCopConsole(null, false, null, null, true); var project = new CodeProject(0, projectPath, new Configuration(null)); - foreach (var filePath in Directory.GetFiles(projectPath, "*.cs", SearchOption.AllDirectories).Where(p => !p.Contains(".Designer"))) + foreach (var filePath in Directory.GetFiles(projectPath, "*.cs", SearchOption.AllDirectories)) console.Core.Environment.AddSourceCode(project, filePath, null); console.ViolationEncountered += OnViolationEncountered; diff --git a/Settings.StyleCop b/Settings.StyleCop index e5aa9112b0..0652af92b3 100644 --- a/Settings.StyleCop +++ b/Settings.StyleCop @@ -1,4 +1,11 @@ + + + + False + + +