Comments (7)
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.
Can't provide a reproduction because Typescript 5.5 is not released yet which is required for this feature.
from typescript-eslint.
Actually, maybe it will work with 5.5.0-dev.20240425 tag.
from typescript-eslint.
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.
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.
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.
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)
- Bug: [no-inferrable-types] False positive with default parameter in closure passed to generic function HOT 1
- Repo (eslint-plugin) [consistent-type-assertions] test case missing output assertion
- Try out v8 beta on various important community repos HOT 4
- Bug: ESlint v9 server does lint in typescript monorepo HOT 5
- Repo: Weekly release flow is failing on changelogRenderer again HOT 5
- Bug: no-magic-numbers Doesn't apply ignore to type definitions HOT 5
- Enhancement: [prefer-nullish-coalescing] Ignore env vars HOT 1
- Enhancement: [no-useless-template-literals] Delete in v8
- Bug: Missing `src/util` import in `@typescript-eslint/eslint-plugin@rc-v8` with skipLibCheck: false HOT 1
- Enhancement: [prefer-literal-enum-member] Allow nested bitwise when using the `allowBitwiseExpressions` option HOT 5
- Enhancement: [no-non-null-assertion] Optionally exempt contexts where null would immediately throw at runtime HOT 12
- Bug: incorrect peer dependency "eslint@^8.56.0" HOT 2
- Bug: [explicit-function-return-type] false invalid case when using allowTypedFunctionExpressions option HOT 5
- Enhancement: [await-thenable] Should check chained method calls HOT 2
- Bug: @typescript-eslint/no-unused-vars false positive when using "using" declaration statement HOT 7
- 🐛 Bug: RuleTester updates reverted in v8 branch HOT 2
- Bug: [prefer-nullish-coalescing] should consider the difference between null and undefined with strict equality HOT 2
- Bug: 8.0.0.alpha24 shared configuration with type checking fail to start HOT 1
- Bug: `no-floating-promises` should not fire on `Promise.resolve()` HOT 2
- Rule proposal: Prevent unnecessary `| undefined` for optional parameters HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-eslint.