Giter VIP home page Giter VIP logo

Comments (7)

JoshuaKGoldberg avatar JoshuaKGoldberg commented on June 14, 2024

typescript-eslint errors immediately as it can no longer finding any files to lint.

Not that I don't believe you, but reproduction please. 🙂 https://antfu.me/posts/why-reproductions-are-required

from typescript-eslint.

silverwind avatar silverwind commented on June 14, 2024

Can't provide a reproduction because Typescript 5.5 is not released yet which is required for this feature.

from typescript-eslint.

silverwind avatar silverwind commented on June 14, 2024

Actually, maybe it will work with 5.5.0-dev.20240425 tag.

from typescript-eslint.

silverwind avatar silverwind commented on June 14, 2024

Here: https://stackblitz.com/edit/vitejs-vite-qhvz8p?file=package.json

Run npm run lint and observe this error. It triggers because of parserOptions.project:

/home/projects/vitejs-vite-qhvz8p/index.ts
  352:0  error  Parsing error: ESLint was configured to run on `<tsconfigRootDir>/index.ts` using `parserOptions.project`: <tsconfigRootDir>/tsconfig.json
However, that TSConfig does not include this file. Either:
- Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file

from typescript-eslint.

bradzacher avatar bradzacher commented on June 14, 2024

microsoft/TypeScript#58042

This feature will land in TS 5.5
We do not support nightly, beta or RC versions of TS - only official releases.

from typescript-eslint.

silverwind avatar silverwind commented on June 14, 2024

Yes, but wouldn't you like to get started now? There's still two months until 5.5 release, so plenty of time to get the feature support ready.

from typescript-eslint.

bradzacher avatar bradzacher commented on June 14, 2024

https://typescript-eslint.io/users/dependency-versions#typescript

We do not support the early releases nor do we accept issues against them. This has been our policy for the entire lifetime of the project.

We also do not seek to build early support either as what is in the nighties and betas can change substantially before even the RC release.

Please be patient.

from typescript-eslint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.