Skip to content

configfile excludes rules #185

@morgdenn

Description

@morgdenn

I would like to use my config file to exclude only the rule "FUNCTION_TYPE_ANY".

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <config> <excludes code="FUNCTION_TYPE_ANY" /> </config>

It looks like this wont work until I also exclude "FUNCTION_TYPE_MISSING".

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <config> <excludes code="FUNCTION_TYPE_ANY" /> <excludes code="FUNCTION_TYPE_MISSING" /> </config>

I can see in "CFLint/src/main/resources/cflint.definition.xml" they are both part of the same ruleImpl. Do you have to exclude all the rules in a ruleImpl to have them excluded?

I'm currently using version 0.7.3

thanks,
Morgan.

(These rules aren't my exact requirements, just a simplified version for testing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions