Skip to content

Skip folder using path_patterns #16

Open
@amitrai99

Description

Hi,

Is there a way to use path_patterns to filter out folders in a maintainability check?
I would like to skip a specific check for a specific folder. Note that I do not want to skip this directory for any other checks.

I'm trying to use a path pattern like below to skip all the foo directory but this skips all the directories.

path_patterns:
  - "src/**[!foo]/*[!test].js"
path_patterns:
  - "src/**/!(foo)/*[!test].js

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