economicmodeling / sonar-d-plugin

SonarQube plugin for the D programming language
GNU Lesser General Public License v3.0
10 stars 2 forks source link

Missing rules trust_too_much & redundant_attributes #9

Closed andre2007 closed 5 years ago

andre2007 commented 5 years ago

These rules are missing

    <rule>
        <key>dscanner.trust_too_much</key>
        <name>Whole scope is @trusted check</name>
        <description><![CDATA[
            Checks that @trusted is attached to functions individually.
        ]]></description>
        <severity>MAJOR</severity>
        <cardinality>SINGLE</cardinality>
        <status>BETA</status>
    </rule>
    <rule>
        <key>dscanner.suspicious.redundant_attributes</key>
        <name>Redundant attributes check</name>
        <description><![CDATA[
            Checks that same visibility attribute is used redundantly.
        ]]></description>
        <severity>MINOR</severity>
        <cardinality>SINGLE</cardinality>
        <status>BETA</status>
    </rule>
andre2007 commented 5 years ago

https://github.com/economicmodeling/sonar-d-plugin/pull/10

andre2007 commented 5 years ago

Solved