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

JS files are not ignored properly #380

Closed
5 tasks done
Dimava opened this issue Jan 2, 2024 · 0 comments
Closed
5 tasks done

JS files are not ignored properly #380

Dimava opened this issue Jan 2, 2024 · 0 comments

Comments

@Dimava
Copy link
Contributor

Dimava commented Jan 2, 2024

Describe the bug

ESLint still says

  0:0  error  Parsing error: ESLint was configured to run on `<tsconfigRootDir>/eslint.config.js`
              using `parserOptions.project`: <tsconfigRootDir>/tsconfig.json

JS files will error if they have 'project' field no matter if there are ts-aware rules or not as I understand

Reproduction

https://github.com/Dimava/antfu-eslint-config/tree/repro/1 (a clean project basically)

System Info

version 2.6.1 (latest)

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.
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

1 participant