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

rulesets.groovyism.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>
        Groovy-ism rule set.
        These are rules for Groovy idiomatic usage, and Groovy-specific bad practices
    </description>

    <rule class='org.codenarc.rule.groovyism.AssignCollectionSortRule'/>
    <rule class='org.codenarc.rule.groovyism.AssignCollectionUniqueRule'/>
    <rule class='org.codenarc.rule.groovyism.ClosureAsLastMethodParameterRule'/>
    <rule class='org.codenarc.rule.groovyism.CollectAllIsDeprecatedRule'/>
    <rule class='org.codenarc.rule.groovyism.ConfusingMultipleReturnsRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitArrayListInstantiationRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToPlusMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToMinusMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToMultiplyMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToDivMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToPowerMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToModMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToOrMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToAndMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToXorMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToGetAtMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToLeftShiftMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToRightShiftMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToCompareToMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToEqualsMethodRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitHashMapInstantiationRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitLinkedHashMapInstantiationRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitHashSetInstantiationRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitLinkedListInstantiationRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitStackInstantiationRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitTreeSetInstantiationRule'/>
    <rule class='org.codenarc.rule.groovyism.GetterMethodCouldBePropertyRule'/>
    <rule class='org.codenarc.rule.groovyism.GroovyLangImmutableRule'/>
    <rule class='org.codenarc.rule.groovyism.GStringAsMapKeyRule'/>
    <rule class='org.codenarc.rule.groovyism.GStringExpressionWithinStringRule'/>
    <rule class='org.codenarc.rule.groovyism.UseCollectManyRule'/>
    <rule class='org.codenarc.rule.groovyism.UseCollectNestedRule'/>
    <rule class='org.codenarc.rule.groovyism.ExplicitCallToPutAtMethodRule'/>
</ruleset>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy