Use typescript-eslint:
Getting started: https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md
Configure eslint:
Rules requiring type information:
To use, must provide path to a tsconfig with a parser option https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionsproject
"plugin:@typescript-eslint/recommended-requiring-type-checking"
Configuration reference: https://eslint.org/docs/2.0.0/user-guide/configuring
List of rules:
https://www.npmjs.com/package/@typescript-eslint/eslint-plugin
empty interface test
use var instead of const