Skip to content

(Parent) directory matcher #667

@JaneX8

Description

@JaneX8

Is your feature request related to a problem? Please describe.

In projects that have a certain folder structure I would like certain rules to apply not only on a specific file type but also to the consider the folder the file is in.

For example MVC structure. A rule that can be applied only on files with a certain file extension inside the views folder. Preferably within definable X depth up, to allow for some recursion (like globs). Or through defining multiple allowed paths like:

paths : [
  "*/views/",
  "*/views/*/",
  "*/views/**"
]

Describe the solution you'd like
A (parent) directory matcher.

Describe alternatives you've considered
None.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions