This demostrates some issues with @typescript-eslint/*
and typescript@4.x
.
npm i
$(npm bin)/eslint *.ts *.tsx
Using generic in JSX fires no-undef
rule.
Value used in type assertion function triggers no-undef
rule.
A type and a variable with the same name triggers @typescript-eslint/no-redeclare
rule.
as const
triggers no-undef
rule.