VSCode and TSLint Setup
By Oguzhan Cakmak at
TLDR
TSLint will hopefully be deprecated next year (2021). Till then it is the best linter option for Typescript project and VSCode should work with it properly
Example TSLint Rules
{
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"rules": {
"ordered-imports": true,
"object-literal-sort-keys": true,
"member-ordering": true,
"no-console": true,
"jsx-no-lambda": true
}
}How to setup VSCode to format on save based on TSLint Rules
Press
CMD + ,or clickCode,PreferencesandSettingsClick the icon below

Add
"tslint.autoFixOnSave": trueto settings.json file
Conclusion
Your VSCode should format on save and live happily ever after with TSLint