1. 安装tslint插件
    2. 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”: [
      1. "javascript",
      2. "javascriptreact",
      3. {
      4. "language": "html",
      5. "autoFix": true
      6. },
      7. {
      8. "language": "react",
      9. "autoFix": true
      10. },
      11. {
      12. "language": "vue",
      13. "autoFix": true
      14. }
      ], “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]”: {
      1. "editor.defaultFormatter": "esbenp.prettier-vscode"
      }, “[json]”: {
      1. "editor.defaultFormatter": "vscode.json-language-features"
      }, “editor.codeActionsOnSave”: {
      1. "source.fixAll.eslint": true,
      2. "eslint.autoFixOnSave": false,
      3. "source.fixAll.tslint": true
      }, “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”: [
      1. 80
      ], “editor.selectionHighlight”: false, “editor.suggest.snippetsPreventQuickSuggestions”: false, “editor.suggestSelection”: “first”, “editor.tabCompletion”: “onlySnippets”, “editor.wordBasedSuggestions”: false }, “cmake.configureOnOpen”: false }

    ```