Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Query linter: update queries
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Jul 13, 2021
1 parent d9a9b44 commit 2715d35
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 2715d35

Please sign in to comment.