Bug: possible regression of TypeOrValueSpecifier for scoped packages with restrict-template-expressions #10038
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: type-utils
Issues related to the @typescript-eslint/type-utils package
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
I was using the new
allow
option forrestrict-template-expressions
that landed in8.6.0
I expected that:
does not report @typescript-eslint/restrict-template-expressions with the following config:
The uuid file in question exports a class with a custom
.toString
so I don't want it to error 🙂 See reproduction repoFeels related to this old fix: #6780 but I might be barking up the wrong tree
Reproduction Repository Link
https://github.com/simon-v-swyftx/typescript-eslint-reproducable
Repro Steps
yarn install
packages/flat-config-typed-tsconfig/src/index.ts
Versions
@typescript-eslint/eslint-plugin
8.6.0
@typescript-eslint/parser
8.6.0
@typescript-eslint/scope-manager
8.6.0
@typescript-eslint/typescript-estree
8.6.0
@typescript-eslint/type-utils
8.6.0
@typescript-eslint/utils
8.6.0
TypeScript
5.6.2
ESLint
9.11.0
node
20.10.0
The text was updated successfully, but these errors were encountered: