-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Labels
Description
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.