Adding support for graphql (#1982)
* Initial GraphQL implementation This is the bare minimum amount of code to make graphql work. Turns out it's pretty easy to add support for other languages :) * Fixing support for `graphql` parsing There was a few structural changes with the addition of CSS and Typescript that we had to take into account. * Fixing file glob, adding `graphql` to yarn.lock * Removing extraneous file * Adding `graphql` parser, style changes * Splitting out graphql printer * Removing merge conflict * Fixing yarn.lock * Addressing code review, using `createError` * Adding release config * Using exact version * Removing destructuring
This commit is contained in:
1 parent
31ab3b6036
commit
e33d6773d6
12 files changed
+157
-3
No files matched your search
+2
-1
@@ -97,7 +97,8 @@ function getParserOption() {
|
||||
value === "flow" ||
|
||||
value === "babylon" ||
|
||||
value === "typescript" ||
|
||||
value === "postcss"
|
||||
value === "postcss" ||
|
||||
value === "graphql"
|
||||
) {
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user