File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -659,15 +659,23 @@ $defs:
659659 title : Kind keyword
660660 type : string
661661 module :
662- title : Kind keyword
662+ title : A module name
663663 type : string
664+ modules :
665+ title : A list of module names
666+ type : array
667+ items :
668+ type : string
664669 required :
665670 - metavariable
666671 anyOf :
667672 - required :
668673 - kind
669- - required :
670- - module
674+ - oneOf :
675+ - required :
676+ - module
677+ - required :
678+ - modules
671679 additionalProperties : false
672680 required :
673681 - semgrep-internal-metavariable-name
Original file line number Diff line number Diff line change @@ -415,6 +415,7 @@ type metavariable_cond = {
415415 ?kind: string option;
416416 (* for semgrep-internal-metavariable-name; consider renaming? for v2 *)
417417 ?module_ <json name="module">: string option;
418+ ?modules: string list option;
418419
419420 (* this covers regex:/pattern:, but also all:/any: with optional where:
420421 * CHECK: language is valid only when combined with a formula
You can’t perform that action at this time.
0 commit comments