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

Linting TypeScript

Last modified: 11 October 2023

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

PhpStorm 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.