Bug: Missing src/util
import in @typescript-eslint/eslint-plugin@rc-v8
with skipLibCheck: false
#9164
Closed
4 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
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.
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Milestone
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
When
skipLibCheck
isn't enabled, we produce a type error for users becauserules.d.ts
imports fromsrc/util
.Note that you need to have the
@typescript-eslint/eslint-plugin
package imported from (directly or transitively) in your code, so TypeScript knows to type check it. This tripped me up a bit at first. 😄Reproduction Repository Link
https://github.com/JoshuaKGoldberg/repros/tree/ts-eslint-plugin-src-util-path
Repro Steps
npm i
npm run tsc
Versions
@typescript-eslint/eslint-plugin
8.0.0-alpha.20
TypeScript
5.4.5
node
20.11.0
Originally reported by @voxpelli in Discord (https://discord.com/channels/1026804805894672454/1084238921677946992/1244642021302599691), thanks!
💖
The text was updated successfully, but these errors were encountered: