Bug with import
when using default export and there is a space before import
and after #
#3837
Labels
import
when using default export and there is a space before import
and after #
#3837
Describe the bug
When using default export import comment like this
#import "./ProfileForm.graphql"
works perfectly fine, but when we add a space beforeimport
and after#
there is an error:To Reproduce
Steps to reproduce the behavior:
Related to graphql-hive/graphql-eslint#472 (comment)
src/UserProfileScreen.graphql
change line#import "./ProfileForm.graphql"
to# import "./ProfileForm.graphql"
@graphql-eslint/[email protected]
that uses latest version of@graphql-tools/import
packageyarn
yarn lint
Environment:
@graphql-tools/import
: 6.6.1The text was updated successfully, but these errors were encountered: