You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recommend to use [`eslint-plugin-svelte`](https://github.com/ota-meshi/eslint-plugin-svelte) instead of [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3).
// it could be processed by `@graphql-eslint/eslint-plugin` or `eslint-plugin-graphql`
198
-
inferredParser==='graphql'&&
199
-
// for `eslint-plugin-graphql`, see https://github.com/apollographql/eslint-plugin-graphql/blob/master/src/index.js#L416
200
-
source.startsWith('ESLintPluginGraphQLFile`')
201
-
){
202
-
inferParserToBabel=true;
199
+
case'graphql': {
200
+
if(
201
+
// for `eslint-plugin-graphql`, see https://github.com/apollographql/eslint-plugin-graphql/blob/master/src/index.js#L416
202
+
source.startsWith('ESLintPluginGraphQLFile`')
203
+
){
204
+
inferParserToBabel=true;
205
+
}
206
+
break;
207
+
}
208
+
// it could be processed by `@ota-meshi/eslint-plugin-svelte`, `eslint-plugin-svelte` or `eslint-plugin-svelte3`
209
+
case'svelte': {
210
+
// The `source` would be modified by `eslint-plugin-svelte3`
0 commit comments