Skip to content

ESLint directives no longer working on nonvirtual files #504

@dimaMachina

Description

@dimaMachina

Describe the bug
ESLint directives no longer working on nonvirtual files

To Reproduce
Since we have fixed a bug to support #import comments, now nonvirtual files we parse with GraphQLFileLoader instead of parseGraphQLSDL, but after parsing rawSDL with GraphQLFileLoader all comments are trimmed.

Environment:

  • OS: macOS
  • @graphql-eslint/...: 1.1.0
  • NodeJS: 14.16.0

Metadata

Metadata

Assignees

Labels

kind/bugBug :-(stage/5-alpha-release-testingThe pull request is merged, an alpha release is available, to be tested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions