mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 22:50:21 +09:00
Merge pull request #1324 from konsumer/master
add support for input and scalar defintiions (for graphql-tools schema)
This commit is contained in:
@@ -4,7 +4,7 @@ detect:
|
||||
filename: "\\.(gql|graphql)$"
|
||||
|
||||
rules:
|
||||
- type: "\\b(?:(query|mutation|subscription|type|fragment|schema|union|on|extends?))\\b"
|
||||
- type: "\\b(?:(query|mutation|subscription|type|input|scalar|fragment|schema|union|on|extends?))\\b"
|
||||
|
||||
# scalar types
|
||||
- statement: "\\b(ID|Int|Float|Boolean|String|Datetime|Null)\\b"
|
||||
|
||||
Reference in New Issue
Block a user