Settings of eslint in vscode

{
    
    
    "workbench.colorTheme": "Visual Studio Dark",
    "editor.tabSize": 2,
    "files.associations": {
    
    
      "*.vue": "vue"
    },
    "eslint.options": {
    
    
      "extensions": [
        ".js",
        ".vue"
      ]
    },
    "eslint.validate": [
      "javascript",
      {
    
    
        "language": "vue",
        "autoFix": true
      },
      "html",
      "vue"
    ],
    "search.exclude": {
    
    
      "**/node_modules": true,
      "**/bower_components": true,
      "**/dist": true
    },
    "emmet.syntaxProfiles": {
    
    
      "javascript": "jsx",
      "vue": "html",
      "vue-html": "html"
    },
    "git.confirmSync": false,
    "editor.renderWhitespace": "boundary",
    "editor.cursorBlinking": "smooth",
    "editor.minimap.enabled": true,
    "editor.minimap.renderCharacters": false,
    "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}",
    "editor.codeLens": true,
    "editor.snippetSuggestions": "top",
    "editor.multiCursorModifier": "ctrlCmd",
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
    "editor.codeActionsOnSave": {
    
    

      "source.fixAll.eslint": true
    },
    "git.enableSmartCommit": true,
    "editor.fontSize": 15,
    "diffEditor.ignoreTrimWhitespace": false,
    "editor.semanticTokenColorCustomizations": null,
    "eslint.execArgv": null,
    "window.zoomLevel": 1,
    "explorer.confirmDelete": false,
    "eslint.codeActionsOnSave.rules": null,
    "editor.language.colorizedBracketPairs": [],
    "typescript.tsserver.watchOptions": {
    
    },
  }

Guess you like

Origin blog.csdn.net/qq_41915137/article/details/130874247