[@typescript-eslint/ban-types] Does not detect {}
with a line break inside
#4220
Closed
3 tasks done
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
Both expressions should report the same message:
Actual Result
The expression with the newline is not detected.
Additional Info
Versions
@typescript-eslint/eslint-plugin
5.4.0
@typescript-eslint/parser
5.4.0
TypeScript
4.5.2
ESLint
7.32.0
The text was updated successfully, but these errors were encountered: