Run StyleCop on the smaller projects.

Also add a copy of the rules to the CrashDialog and Irc projects.
This commit is contained in:
RoosterDragon
2014-06-23 00:03:37 +01:00
parent e41791568d
commit 38617dc0a9
17 changed files with 786 additions and 105 deletions

View File

@@ -64,7 +64,7 @@ namespace OpenRA.Lint
.Select(m => m.Map);
}
else
maps = new [] { new Map(map) };
maps = new[] { new Map(map) };
foreach (var testMap in maps)
{
@@ -87,10 +87,10 @@ namespace OpenRA.Lint
{
var customPass = (ILintPass)Game.modData.ObjectCreator
.CreateBasic(customPassType);
if (verbose)
Console.WriteLine("Pass: {0}".F(customPassType.ToString()));
customPass.Run(EmitError, EmitWarning, testMap);
}
catch (Exception e)