- 安装tslint插件
- setting.json配置
```json
{
“window.zoomLevel”: 1,
“C_Cpp.updateChannel”: “Insiders”,
“explorer.confirmDelete”: false,
“workbench.iconTheme”: “vs-minimal”,
“editor.minimap.enabled”: true,
“diffEditor.ignoreTrimWhitespace”: false,
“terminal.integrated.shell.windows”: “powershell.exe”,
“json.schemaDownload.enable”: false,
“eslint.autoFixOnSave”: true,
“eslint.validate”: [
], “javascript.implicitProjectConfig.experimentalDecorators”: true, “typescript.updateImportsOnFileMove.enabled”: “always”, “vetur.validation.template”: false, “workbench.colorTheme”: “Visual Studio Dark”, “breadcrumbs.enabled”: false, “workbench.statusBar.visible”: false, “vsicons.dontShowNewVersionMessage”: true, “[javascript]”: {"javascript","javascriptreact",{"language": "html","autoFix": true},{"language": "react","autoFix": true},{"language": "vue","autoFix": true}
}, “[json]”: {"editor.defaultFormatter": "esbenp.prettier-vscode"
}, “editor.codeActionsOnSave”: {"editor.defaultFormatter": "vscode.json-language-features"
}, “git.autofetch”: true, “editor.suggestSelection”: “first”, “vsintellicode.modify.editor.suggestSelection”: “automaticallyOverrodeDefaultValue”, “java.configuration.checkProjectSettingsExclusions”: false, “git.confirmSync”: false, “editor.tabSize”: 2, “todo-tree.tree.showScanModeButton”: false, “cssrem.rootFontSize”: 100, “git.enableSmartCommit”: true, “editor.renderControlCharacters”: true, “python.jediEnabled”: false, “search.followSymlinks”: false, “[dart]”: { “editor.formatOnSave”: true, “editor.formatOnType”: true, “editor.rulers”: ["source.fixAll.eslint": true,"eslint.autoFixOnSave": false,"source.fixAll.tslint": true
], “editor.selectionHighlight”: false, “editor.suggest.snippetsPreventQuickSuggestions”: false, “editor.suggestSelection”: “first”, “editor.tabCompletion”: “onlySnippets”, “editor.wordBasedSuggestions”: false }, “cmake.configureOnOpen”: false }80
```
