Add TypeScript linting support
Created by: Timer
We should lint TypeScript files and try to approximate to match our ESLint configuration as close as possible.
TSLint rules we want:
-
no-namespace
: enforce usage of ES Modules / disallow deprecated behavior -
no-duplicate-super
: prevent runtime error no-duplicate-switch-case
-
no-duplicate-variable
: prevent redeclare ofvar
no-invalid-template-strings
no-invalid-this
triple-equals
use-isnan
-
react hooks plugin -
match eslint config closely -
restrictedGlobals
maybe: