(Parent) directory matcher
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1k
- Forks
- 131
- Avg merge
- 1m
- Merged PRs (30d)
- 1
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the requested directory-matching behavior in issue #667, including the MVC and glob-style path examples. Identify the existing rule-matching entry points and tests before deciding how parent directories and configurable depth should work. Done means the behavior is specified, implemented, and covered for the example path patterns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100