<ruleset xmlns="http://codenarc.org/ruleset/1.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://codenarc.org/ruleset/1.0 http://codenarc.org/ruleset-schema.xsd"
        xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd">

    <description>
        Formatting rule set.
        These rules find formatting problems within the source code.
    </description>

    <rule class='org.codenarc.rule.formatting.BlankLineBeforePackageRule'/>
    <rule class='org.codenarc.rule.formatting.BracesForClassRule'/>
    <rule class='org.codenarc.rule.formatting.LineLengthRule'/>
    <rule class='org.codenarc.rule.formatting.BracesForForLoopRule'/>
    <rule class='org.codenarc.rule.formatting.BracesForIfElseRule'/>
    <rule class='org.codenarc.rule.formatting.BracesForMethodRule'/>
    <rule class='org.codenarc.rule.formatting.BracesForTryCatchFinallyRule'/>
    <rule class='org.codenarc.rule.formatting.ClassJavadocRule'/>
    <rule class='org.codenarc.rule.formatting.ClosureStatementOnOpeningLineOfMultipleLineClosureRule'/>
    <rule class='org.codenarc.rule.formatting.ConsecutiveBlankLinesRule'/>
    <rule class='org.codenarc.rule.formatting.FileEndsWithoutNewlineRule'/>
    <rule class='org.codenarc.rule.formatting.MissingBlankLineAfterImportsRule'/>
    <rule class='org.codenarc.rule.formatting.MissingBlankLineAfterPackageRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterCatchRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterClosingBraceRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterCommaRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterForRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterIfRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterOpeningBraceRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterSemicolonRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterSwitchRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAfterWhileRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAroundClosureArrowRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAroundMapEntryColonRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceAroundOperatorRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceBeforeClosingBraceRule'/>
    <rule class='org.codenarc.rule.formatting.SpaceBeforeOpeningBraceRule'/>
    <rule class='org.codenarc.rule.formatting.TrailingWhitespaceRule'/>
</ruleset>