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-stringsno-invalid-thistriple-equalsuse-isnan-
react hooks plugin -
match eslint config closely -
restrictedGlobals
maybe: