Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import code formatting settings from tslint.json in webstorm?

Is it possible to import formatting settings (Settings => Editor => Code Style => Typescript) from my tslint.json file in webstorm? I use rules directory "node_modules/codelyzer" in my tslint.json file

like image 970
Ildar Avatar asked Jun 19 '16 18:06

Ildar


2 Answers

Since 2017 WebStorm version, it's possible to Apply code style.

Just open tslint.json and WebStorm will ask if it can import it.

Read it about it in WebStorm 2017.1 EAP, 171.2455: improved integration with TSLint

like image 171
Gabrielizalo Avatar answered Sep 28 '22 03:09

Gabrielizalo


It's not possible at the moment. You can vote for and follow the updates on this feature request: https://youtrack.jetbrains.com/issue/WEB-19481

like image 42
Ekaterina Prigara Avatar answered Sep 28 '22 02:09

Ekaterina Prigara