Reputation: 4048
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
Upvotes: 7
Views: 5954
Reputation: 1
As of 2018, you can manually apply TsLint settings:
tslint.json
file in the Editor or File tree (can also be a tslint.yaml
)The Event Log should be updated with:
TSLint: The project code style and editor settings were updated based on 'tslint.json'.
More from JetBrains (with pictures): WebStorm Help | Importing code style from a TSLint configuration file
Upvotes: 0
Reputation: 946
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
Upvotes: 16
Reputation: 4957
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
Upvotes: 2