Skip to content

Allow whitespaces in the configuration of the plugin #33

@royteeuwen

Description

@royteeuwen

The list of whitelisted resource path patterns might become long, which makes it less readable. I'd propose that you can use whitespaces / enters to add extra resource path patterns and same can be said for the severity:

<whitelistedResourcePathPatterns>
    /apps/mysite/components/.*,
    /apps/foundation/components/form/.*,
    /apps/fd/af/components/.*,
</whitelistedResourcePathPatterns>

Another improvement would be that you can actually set comments, so something like the following:

<whitelistedResourcePathPatternsArray>
    <!-- Ignored because of reason X -->
    <item>/apps/mysite/components/.*</item>
    <!-- Ignored because of reason Y -->
    <item>/apps/foundation/components/form/.*</item>
    <!-- Ignored because of reason Z -->
    <item>/apps/fd/af/components/.*</item>
</whitelistedResourcePathPatterns>

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