mirror of
https://github.com/zyedidia/micro
synced 2024-10-14 11:52:32 +00:00
Merge pull request #1324 from konsumer/master
add support for input and scalar defintiions (for graphql-tools schema)
This commit is contained in:
commit
2f45644d14
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue