Skip to content

Instantly share code, notes, and snippets.

@lydemann lydemann/VS Code Settings
Last active Aug 12, 2019

Embed
What would you like to do?
VS code settings for auto format, fix and organize imports.
{
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"tslint.autoFixOnSave": true
},
"editor.formatOnSave": true
}
@cgatian

This comment has been minimized.

Copy link

cgatian commented Aug 12, 2019

With latest tslint this is what I needed:

 "editor.codeActionsOnSave": {
    "source.fixAll": true,
    "source.organizeImports": false
  },
  "editor.formatOnSave": true,
@lydemann

This comment has been minimized.

Copy link
Owner Author

lydemann commented Aug 12, 2019

Thanks, you are right. I just updated it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.