Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint directives are broken? #8

Open
5 of 7 tasks
dimaMachina opened this issue Nov 20, 2024 · 1 comment
Open
5 of 7 tasks

ESLint directives are broken? #8

dimaMachina opened this issue Nov 20, 2024 · 1 comment

Comments

@dimaMachina
Copy link

Describe the bug

I just did a setup for extracting vue and svelte <script>'s and found a similar case that ESLint's directives are broken. Are there any tests to unsure that eslint directive works? Or is it an issue with graphql-eslint?

Reproduction

https://github.com/dimaMachina/graphql-eslint/tree/better-vue-processor/examples/vue-code-file

System Info

System:
    OS: macOS 13.4
    CPU: (12) x64 Apple M2 Max
    Memory: 7.01 GB / 96.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.11.0 - ~/.local/state/fnm_multishells/22235_1732128352787/bin/node
    npm: 10.9.0 - ~/.local/state/fnm_multishells/22235_1732128352787/bin/npm
    pnpm: 9.14.1 - ~/.local/state/fnm_multishells/22235_1732128352787/bin/pnpm
    Watchman: 2024.08.05.00 - /usr/local/bin/watchman
  Browsers:
    Chrome: 128.0.6613.114
    Safari: 16.5

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
@dimaMachina
Copy link
Author

ok, after investigation this seems to be an upstream issue from your other package https://github.com/antfu/eslint-merge-processors

because when I comment first processor either in vue or svelte eslint directive works as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants