Skip to content

Bug: Getting AST without type information in TS mode for: /Volumes/DevDrive/Projects/Active/discovery-ui/eslint.config.js #11433

@tbqguy

Description

@tbqguy

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

eslint_debug_output.log

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfix: user errorissue was fixed by correcting the configuration / correcting the codeworking as intendedIssues that are closed as they are working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy