Skip to content

Bug: eslint-plugin@8.0.0-alpha.30 has TS error #9332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
abrahamguo opened this issue Jun 11, 2024 · 1 comment
Closed
4 tasks done

Bug: eslint-plugin@8.0.0-alpha.30 has TS error #9332

abrahamguo opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing. triage Waiting for team members to take a look

Comments

@abrahamguo
Copy link
Contributor

abrahamguo commented Jun 11, 2024

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

node_modules/@typescript-eslint/eslint-plugin/rules.d.ts:40:63 - error TS2307: Cannot find module './src/util' or its corresponding type declarations.

40 import type { ESLintPluginDocs, ESLintPluginRuleModule } from './src/util';

Looks to be introduced by @JoshuaKGoldberg in #9025.
Also, we should probably have an integration test for this, if there isn't one already?

Reproduction Repository Link

github.com/abrahamguo/repro

Repro Steps

  1. clone the repo
  2. npm i
  3. npx tsc

Versions

package version
@typescript-eslint/eslint-plugin 8.0.0-alpha.30
@typescript-eslint/parser 8.0.0-alpha.30
@typescript-eslint/scope-manager 8.0.0-alpha.30
@typescript-eslint/typescript-estree 8.0.0-alpha.30
@typescript-eslint/type-utils 8.0.0-alpha.30
@typescript-eslint/utils 8.0.0-alpha.30
TypeScript 5.4.5
ESLint 9.4.0
node 21.6.1
@abrahamguo abrahamguo added bug Something isn't working triage Waiting for team members to take a look labels Jun 11, 2024
@abrahamguo abrahamguo changed the title Bug: @typescript-eslint/eslint-plugin@8.0.0-alpha.29 has TS error Bug: eslint-plugin@8.0.0-alpha.29 has TS error Jun 11, 2024
@abrahamguo abrahamguo changed the title Bug: eslint-plugin@8.0.0-alpha.29 has TS error Bug: eslint-plugin@8.0.0-alpha.30 has TS error Jun 11, 2024
@JoshuaKGoldberg
Copy link
Member

Indeed. Duplicate of #9164. Thanks for the spot!

@JoshuaKGoldberg JoshuaKGoldberg closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2024
@github-actions github-actions bot added the locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing. label Jun 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing. triage Waiting for team members to take a look
Projects
None yet
Development

No branches or pull requests

2 participants