example:I want to match obj has path and name key。but not have children。
I tried these methods, but they didn’t work. Why?
rule:
kind: object
all:
- kind: property_identifier
regex: ^path$
- kind: property_identifier
regex: ^name$
not:
kind: property_identifier
regex: ^children$
New contributor
钟先生 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.