diff --git a/.changeset/breezy-walls-invent.md b/.changeset/breezy-walls-invent.md new file mode 100644 index 00000000000..e6a293f18a2 --- /dev/null +++ b/.changeset/breezy-walls-invent.md @@ -0,0 +1,5 @@ +--- +'@graphql-eslint/eslint-plugin': patch +--- + +report errors on first character for `*.vue`/`*.svelte` code, due graphql-tag-pluck limitation we can't know right location diff --git a/.vscode/launch.json b/.vscode/launch.json index f8786627f7e..d4849e12691 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "version": "0.2.0", "configurations": [ { - "type": "pwa-node", + "type": "node", "request": "launch", "name": "Debug Tests", "skipFiles": ["/**"], diff --git a/.vscode/settings.json b/.vscode/settings.json index 6c04be0339a..20cce1ab1f3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,5 +16,14 @@ "mode": "auto", "changeProcessCWD": true } + ], + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "graphql", + "vue", + "svelte" ] } diff --git a/examples/vue-code-file/test.vue b/examples/vue-code-file/test.vue index 3418360b22d..d666f4e5cc7 100644 --- a/examples/vue-code-file/test.vue +++ b/examples/vue-code-file/test.vue @@ -1,3 +1,6 @@ +