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

Linting TypeScript

Last modified: 20 October 2022

Available only in PyCharm Professional: download to try or compare editions

Required plugin:

Javascript and TypeScript -  The plugin is available only in PyCharm Professional, where it is enabled by default.

The recommended linter for TypeScript code is ESLint which brings a wide range of linting rules that can also be extended with plugins. PyCharm shows warnings and errors reported by ESLint right in the editor, as you type. Learn more from ESLint.

PyCharm highlights errors reported by ESLint in .ts and .tsx files when @typescript-eslint/parser is set as a parser in your project ESLint configuration. Learn more from the readme file in the typescript-eslint repo.