Bug: [ban-types] <rule don't work> #5898
Labels
fix: user error
issue was fixed by correcting the configuration / correcting the code
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
working as intended
Issues that are closed as they are working as intended
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=4.8.4&sourceType=script&code=MYGwhgzhAEBiD29oG8CwAoa0B2YC2ApgFzQQAuATgJbYDmA3BgL4YbDzbnQBm0AvDgIB3OIgAUASkbp2neCAIA6EPFpjui3ISmsZHLmX4om02RHlKVaslKA&eslintrc=N4KABGBEACAuCeAHApgZwMYCcCWjYFo0AbbAO1gHoAjAQ1PwRVUgC4wBtcCKZTTAe0yQANFwihu3SIzSswEyVIBi-fnMgARfqQDksMAFdUyMCv5gqydDSMns+7KkOlUNAGbIRYxZADyRABMAQQAFAEk5BUUpAFs0VwBzTzZIAFVjMAA5ZAB3ULCwMlRYZBoAr2jJSDdsAA8AdXsAC3VsvPDIb0kAX1FKqGBuuTcaImMusF6JyGRaktIAjWQRgyJYZjZYTANkb26uAF0QbqA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA
Repro Code
ESLint Config
tsconfig
Expected Result
expected that the should report the error "Don't use Foo because it is unsafe".
Actual Result
no error.
Additional Info
No response
Versions
@typescript-eslint/eslint-plugin
5.41.0
@typescript-eslint/parser
5.41.0
TypeScript
4.8.4
ESLint
8.15.0
node
web
The text was updated successfully, but these errors were encountered: