feat: adds 'ancestor' matcher#961
Conversation
dd5fedb to
43e5d79
Compare
43e5d79 to
819d9f6
Compare
819d9f6 to
9b9ea4d
Compare
95331ab to
aae6edd
Compare
9b9ea4d to
befba72
Compare
3499b9d to
1d495cf
Compare
1d495cf to
fcc020a
Compare
fcc020a to
49910e8
Compare
49910e8 to
7c8c6a5
Compare
25b0d11 to
e86487f
Compare
e86487f to
b23e08d
Compare
6c3d4b7 to
8c007a7
Compare
0882c28 to
290fe8c
Compare
290fe8c to
e76e909
Compare
e76e909 to
5857d81
Compare
|
5857d81 to
3e96f9c
Compare
|
Isn't it ready to merge ? |
It is. I have doubts about the feature though. It does address an immediate ask, but is it sufficiently flexible for slightly more advanced (but just as valid in their use cases) rules regarding parent-child (e.g. relative paths #330) )?
|
|
|
Yolo & learn |



Description
ancestormatcherMotivation and Context
It's probably possible to do this with regular expressions and group matching, but so far I haven't found a simple way to do that.
How Has This Been Tested?
Screenshots
You can now do things like this:
Which, when run as part of a validation, would yield errors on every dependency that goes folders up in stead of down:
Types of changes
Checklist
📖
⚖️