Skip to content

Support dot glob option #350

@timhirsh

Description

@timhirsh

Problem

I'm trying to match all files with the .yml extension. Some are contained in hidden directories that are arbitrarily nested. Eg:

path/to/.hiddenDir/file.yml

or

path/to/.hiddenFile.yml

Neither case above would be captured by the **/*.yml path in my include config.

Request

Please allow for more flexible matching of hidden files & directories. For example, node-glob supports an option to treat dots as normal characters, which would make it trivial to handle the situations above using a single pattern instead of multiple variations that require knowledge of the directory structure. I'd like for file extension matching to be agnostic of directory structure so that license checking isn't accidentally missed in newly added areas of the repo.

Thanks!

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