Angular and Tslint for code reformat Permanently deleted user Created February 07, 2018 02:17 Is there a way to tell webstorm to reformat my code based on what tslint says, not get the balloon but from the shortcut ctrl + L + shift
Yes - WebStorm supports importing code style preferences from tslint.json. See https://blog.jetbrains.com/webstorm/2017/01/webstorm-2017-1-eap-171-2455/, Import code style from tslint.json
If I didn't get the balloon to say "yes" what do I do?
may be, the style is already applied? WebStorm 2017.3 auto-imports code style preferences from tslint config.
Try the following:
- in Settings | Editor | Code Style, Scheme:, choose `Default` scheme, press OK to close preferences
- open your tslint.json in the editor - do you see a prompt to import code style?
yes now I do thanks Elena!
Is the import available in IntelliJ Idea?
Sure:)