Language / Framework: TypeScript
Categories: Readability, Maintainability, Functionality
TSLint Version: 5.9.1
TSLint is a linter for the TypeScript language.
codeclimate-tslint is a Code Climate engine that wraps TSLint. You can run it on your command line using the Code Climate CLI, or on Code Climate's hosted analysis platform.
To enable TSLint analysis on Code Climate's hosted platform, add the following to your .codeclimate.yml configuration file:
plugins: tslint: enabled: true config: tslint.json
To run TSLint on the command line using the Code Climate CLI:
- If you haven't already, install the Code Climate CLI.
- Edit your
.codeclimate.ymlfile to enable the plugin (as shown above).
- You're ready to analyze! Browse into your project's folder and run
The official TSLint documentation has information about each of the checks the tool performs on your TypeScript code.