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

Linting TypeScript

Last modified: 26 July 2022

You can use the TSLint code verification tool from inside WebStorm 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, WebStorm 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.