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
me$ node ./node_modules/eslint/bin/eslint.js ./src/components/Cart.gql
/project/src/components/Cart.gql
48:7 error The field ShippingMethod.description is deprecated. Use localizedDescription graphql/no-deprecated-fields
✖ 1 problem (1 error, 0 warnings)
With version 4.0.0 I try to lint deprecated field in a gql file and a template in a js file.
If I configure .eslintrc.js it with:
Then it will find a problem in gql files
But it won't detect it in javaScript files
When I configure .eslintrc.js with:
It will find the error in the javaScript file but not in the gql files.
There may be some sort of combination of settings that I haven't tried yet that will do both but I am unable to find it.
The text was updated successfully, but these errors were encountered: