All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rulesets.convention.xml Maven / Gradle / Ivy

There is a newer version: 3.5.0-groovy-4.0
Show newest version
<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>
        Convention rule set.
        These are rules for coding conventions; not necessarily errors.
    </description>

    <rule class='org.codenarc.rule.convention.ConfusingTernaryRule'/>
    <rule class='org.codenarc.rule.convention.CouldBeElvisRule'/>
    <rule class='org.codenarc.rule.convention.CouldBeSwitchStatementRule'/>
    <rule class='org.codenarc.rule.convention.HashtableIsObsoleteRule'/>
    <rule class='org.codenarc.rule.convention.IfStatementCouldBeTernaryRule'/>
    <rule class='org.codenarc.rule.convention.InvertedIfElseRule'/>
    <rule class='org.codenarc.rule.convention.LongLiteralWithLowerCaseLRule'/>
    <rule class='org.codenarc.rule.convention.NoDefRule'/>
    <rule class='org.codenarc.rule.convention.NoTabCharacterRule'/>
    <rule class='org.codenarc.rule.convention.ParameterReassignmentRule'/>
    <rule class='org.codenarc.rule.convention.TernaryCouldBeElvisRule'/>
    <rule class='org.codenarc.rule.convention.TrailingCommaRule'/>
    <rule class='org.codenarc.rule.convention.VectorIsObsoleteRule'/>

</ruleset>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy