We should lint TypeScript files and try to approximate to match our ESLint configuration as close as possible. TSLint rules we want: - [`no-namespace`](https://palantir.github.io/tslint/rules/no-namespace/): enforce usage of ES Modules / disallow deprecated behavior - [`no-duplicate-super`](https://palantir.github.io/tslint/rules/no-duplicate-super/): prevent runtime error - [`no-duplicate-switch-case`](https://palantir.github.io/tslint/rules/no-duplicate-switch-case/) - [`no-duplicate-variable`](https://palantir.github.io/tslint/rules/no-duplicate-variable/): prevent redeclare of `var` - [`no-invalid-template-strings`](https://palantir.github.io/tslint/rules/no-invalid-template-strings/) - [`no-invalid-this`](https://palantir.github.io/tslint/rules/no-invalid-this/) - [`triple-equals`](https://palantir.github.io/tslint/rules/triple-equals/) - [`use-isnan`](https://palantir.github.io/tslint/rules/use-isnan/) - [ ] react hooks plugin - [ ] match eslint config closely - [ ] restrictedGlobals maybe: - [`no-switch-case-fall-through`](https://palantir.github.io/tslint/rules/no-switch-case-fall-through/) - [`no-implicit-dependencies`](https://palantir.github.io/tslint/rules/no-implicit-dependencies/)
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 behaviorno-duplicate-super: prevent runtime errorno-duplicate-switch-caseno-duplicate-variable: prevent redeclare ofvarno-invalid-template-stringsno-invalid-thistriple-equalsuse-isnanmaybe:
no-switch-case-fall-throughno-implicit-dependencies