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

Linting TypeScript

Last modified: 26 July 2022

Professional feature: download PyCharm Professional to try.

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