Skip to content

Commit

Permalink
Fix prettier config in VSCode Extension (#3971)
Browse files Browse the repository at this point in the history
Summary:
Some of the config brought over in #3953 borked some stuff.

I "fixed" the config and re ran prettier against the files.

Pull Request resolved: #3971

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: relay**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D37144915/V2/relay/)|

|**Modified Pages**|

**Static Docs Preview: relay**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D37144915/V4/relay/)|

|**Modified Pages**|

Reviewed By: alunyov

Differential Revision: D37144915

Pulled By: captbaritone

fbshipit-source-id: 05c227d712e89c0ba5f14dabc08fc7a1cf047c38
  • Loading branch information
tbezman authored and facebook-github-bot committed Jun 16, 2022
1 parent 64d4dc1 commit 4644a31
Show file tree
Hide file tree
Showing 19 changed files with 328 additions and 333 deletions.
4 changes: 3 additions & 1 deletion vscode-extension/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
"operator-linebreak": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/object-curly-spacing": "off",
"object-curly-newline": "off",
"arrow-parens": "off",

// Opinionated
"import/prefer-default-export": "off",
"no-await-in-loop": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error", { "functions": false }]
"@typescript-eslint/no-use-before-define": ["error", {"functions": false}]
}
}
4 changes: 2 additions & 2 deletions vscode-extension/grammars/graphql.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"name": "punctuation.definition.string.template.end.js"
}
},
"patterns": [{ "include": "source.graphql" }]
"patterns": [{"include": "source.graphql"}]
},
{
"name": "taggedTemplates",
Expand All @@ -48,7 +48,7 @@
"name": "punctuation.definition.string.template.end.js"
}
},
"patterns": [{ "include": "source.graphql" }]
"patterns": [{"include": "source.graphql"}]
}
],
"scopeName": "inline.graphql"
Expand Down
Loading

0 comments on commit 4644a31

Please sign in to comment.