-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Issue Description
I am encountering a persistent error when attempting to run ESLint with Flat Configs (v9) in my project, specifically when linting the eslint.config.js file itself. The error is: Error while loading rule '@typescript-eslint/await-thenable': You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file."
"Despite explicitly configuring eslint.config.js to not use typescript-eslint's parser for itself (via separate config file import and tsconfig.eslint.json exclusions), the issue persists.
Reproduction Repository Link
https://github.com/tbqguy/eslint-bug-repro.git
Repro Steps
git clone https://github.com/tbqguy/eslint-bug-repro.git
cd eslint-bug-repro
pnpm install
pnpm run lint
Versions
Environment:
Operating System ( macOS , ProductVersion:15.5, BuildVersion: 24F74)
Node.js version ( v24.4.1)
pnpm version (10.13.1)
ESLint version ( 9.32.0)
Typescript Version : 5.8.3