vscode中eslint的设置

{
    "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": {},
  }

你可能感兴趣的:(vscode,javascript,ide)