Bug: Type checking of eslint.config.mjs fails with the new eslint/config
defineConfig
with @ts-check
#11017
Closed
4 tasks done
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
You get an error on a vanilla ESLint config generated by the latest
@eslint/create-config
package if you add// @ts-check
to the file.#10935 (comment)
#10935 (comment)
cc @JoshuaKGoldberg
Reproduction Repository Link
https://github.com/segevfiner/typescript-eslint-define-config-issue
Repro Steps
npm install
npx tsc
Versions
@typescript-eslint/eslint-plugin
8.29.0
@typescript-eslint/parser
8.29.0
@typescript-eslint/utils
8.29.0
TypeScript
5.8.2
ESLint
9.23.0
node
22.14.0
The text was updated successfully, but these errors were encountered: