RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

Linting TypeScript

Last modified: 09 August 2022

Required plugin: JavaScript and TypeScript, TSLint

The plugins are bundled with RubyMine and enabled by default.

You can use the TSLint code verification tool from inside RubyMine and check your TypeScript code for most common mistakes without running the application. When the tool is activated, it lints all the opened TypeScript files and marks the detected problems.

To view the description of a problem, hover over the highlighted code. By default, RubyMine marks detected problems based on the severity levels from the TSLint configuration file. See Configuring TSLint highlighting to learn how to override these settings.

TSLint: errors and warnings are highlighted, the description of a problem is shown in a tooltip.

You can also check your TypeScript code with ESLint, see Lint TypeScript with ESLint.