Skip to content

Commit

Permalink
Query linter: update queries
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Jul 11, 2021
1 parent 6e0037c commit 2e64e47
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions queries/query/query-linter-queries.scm
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(program [(named_node) (list) (grouping)] @toplevel-query)
(named_node
name: (identifier) @named_node)
(ERROR) @error
(anonymous_node) @anonymous_node
name: _ @named_node)
(anonymous_node
name: _ @anonymous_node)
(field_definition
name: (identifier) @field)
name: (identifier) @field)
(ERROR) @error

0 comments on commit 2e64e47

Please sign in to comment.