Skip to content

Commit

Permalink
eslint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Jan 9, 2024
1 parent f0bd515 commit e976638
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ working-group/
packages/codemirror-graphql/src/__tests__/schema-kitchen-sink.graphql
CHANGELOG.md
**/CHANGELOG.md
packages/vscode-graphql-syntax/tests/__fixtures__/
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
'changesets/**/*.md',
'**/CHANGELOG.md',
'functions/*',
'packages/vscode-graphql-syntax/tests/__fixtures__/*',
],
overrides: [
{
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode-graphql-syntax/tests/__fixtures__/test-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
```js
const variable = 1;

graphql`
const query = graphql`
query {
something
something(arg: ${variable})
}
`;
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ exports[`inline.graphql.markdown.codeblock grammar js > should tokenize a markdo
|
\`\`\` | punctuation.definition.markdown
js | fenced_code.block.language.markdown
const var = 1; | markup.fenced_code.block.javascript meta.embedded.block.javascript
const variable = 1; | markup.fenced_code.block.javascript meta.embedded.block.javascript
| markup.fenced_code.block.javascript meta.embedded.block.javascript
const query = | markup.fenced_code.block.javascript meta.embedded.block.javascript
| markup.fenced_code.block.javascript meta.embedded.block.javascript
graphql | markup.fenced_code.block.javascript meta.embedded.block.javascript entity.name.function.tagged-template.js
\` | markup.fenced_code.block.javascript meta.embedded.block.javascript punctuation.definition.string.template.begin.js
Expand All @@ -84,14 +86,23 @@ query | markup.fenced_code.block.
{ | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql punctuation.operation.graphql
| markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql
something | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql variable.graphql
( | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.brace.round.directive.graphql
arg | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql variable.parameter.graphql
: | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql punctuation.colon.graphql
$ | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql
{ | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.objectvalues.graphql meta.brace.curly.graphql
variable | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.objectvalues.graphql constant.character.enum.graphql
} | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.objectvalues.graphql meta.brace.curly.graphql
) | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.brace.round.directive.graphql
| markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql
} | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql punctuation.operation.graphql
\` | markup.fenced_code.block.javascript meta.embedded.block.javascript punctuation.definition.string.template.end.js
; | markup.fenced_code.block.javascript meta.embedded.block.javascript
\`\`\` | punctuation.definition.markdown
|
\`\`\` | punctuation.definition.markdown
tsx | fenced_code.block.language.markdown
const var: number = 1; | markup.fenced_code.block.javascript meta.embedded.block.javascript
const variable: number = 1; | markup.fenced_code.block.javascript meta.embedded.block.javascript
| markup.fenced_code.block.javascript meta.embedded.block.javascript
graphql | markup.fenced_code.block.javascript meta.embedded.block.javascript entity.name.function.tagged-template.js
\` | markup.fenced_code.block.javascript meta.embedded.block.javascript punctuation.definition.string.template.begin.js
Expand All @@ -106,15 +117,16 @@ variable | markup.fenced_code.block.
: | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql punctuation.colon.graphql
$ | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql
{ | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.objectvalues.graphql meta.brace.curly.graphql
var | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.objectvalues.graphql constant.character.enum.graphql
variable | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.objectvalues.graphql constant.character.enum.graphql
} | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.objectvalues.graphql meta.brace.curly.graphql
) | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql meta.arguments.graphql meta.brace.round.directive.graphql
| markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql
} | markup.fenced_code.block.javascript meta.embedded.block.javascript meta.embedded.block.graphql meta.selectionset.graphql punctuation.operation.graphql
\` | markup.fenced_code.block.javascript meta.embedded.block.javascript punctuation.definition.string.template.end.js
; | markup.fenced_code.block.javascript meta.embedded.block.javascript
const Component = () => { | markup.fenced_code.block.javascript meta.embedded.block.javascript
return <div> </div> | markup.fenced_code.block.javascript meta.embedded.block.javascript
} | markup.fenced_code.block.javascript meta.embedded.block.javascript
return <div> </div>; | markup.fenced_code.block.javascript meta.embedded.block.javascript
}; | markup.fenced_code.block.javascript meta.embedded.block.javascript
\`\`\` | punctuation.definition.markdown
|
### TODO: svelte |
Expand Down

0 comments on commit e976638

Please sign in to comment.