ESlint自动化设置

// 赋值粘贴下面代码到首选项=> 设置=> 用户设置,然后保存
 "editor.fontSize": 16,
    "editor.fontFamily": "Fira Code, Consolas", //Fira Code
    "editor.fontLigatures": true,
    "editor.tabSize": 2,
    "editor.formatOnType": true,
    "editor.renderWhitespace": "boundary",
    "editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?",
    "extensions.autoUpdate": true,
    "emmet.syntaxProfiles": {
        "vue-html": "html",
        "vue": "html",
        // "javascript": "jsx",
        "javascript": "html"
    },
    "emmet.includeLanguages": {
        "vue-html": "html",
        "vue": "html",
        "javascript": "javascriptreact",
        "wxml": "html"
    },
    "emmet.triggerExpansionOnTab": true,
    "terminal.external.windowsExec": "C:\\#Alan\\Software\\cmder\\Cmder.exe",
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "vue-html",
        {
            "language": "vue",
            "autoFix": true
        },
        "html",
        "vue"
    ],
    // 需要 npm install -g eslint-plugin-vue
    "eslint.options": {
        "extensions": [
            ".js",
            ".vue"
        ]
    },
    "files.associations": {
        "*.vue": "vue",
        "*.js": "javascript",
        "*.cjson": "jsonc",
        "*.wxss": "css",
        "*.wxs": "javascript",
        // "*.wpy": "vue"
    },
    "editor.cursorBlinking": "smooth",
    "sync.gist": "0098ebc82c9c1ac3237c27c11ba0cca9",
    "sync.lastUpload": "2018-08-21T00:41:00.355Z",
    "sync.autoDownload": false,
    "sync.autoUpload": false,
    "sync.lastDownload": "2017-09-23T11:59:03.285Z",
    "sync.forceDownload": false,
    "sync.host": "",
    "sync.pathPrefix": "",
    "sync.quietSync": false,
    "editor.renderIndentGuides": false,
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/dist": true
    },
    "vetur.format.styleInitialIndent": true,
    "vetur.format.scriptInitialIndent": true,
    "eslint.autoFixOnSave": true,
    "window.zoomLevel": 0,
    "sync.askGistName": false,
    "fileheader.Author": "Alan-Yih",
    "workbench.startupEditor": "newUntitledFile",
    "liveServer.settings.donotShowInfoMsg": true,
    "git.confirmSync": false,
    "explorer.confirmDragAndDrop": false,
    "explorer.confirmDelete": false,
    "workbench.colorCustomizations": {},
    // "materialTheme.cache.workbench.settings": {
    //     "accentPrevious": "Purple",
    //     "themeColours": "Default"
    // },
    "python.disablePromptForFeatures": [
        "pylint"
    ],
    "python.linting.flake8Enabled": true,
    "workbench.iconTheme": "material-icon-theme",
    "material-icon-theme.folders.color": "#fdd835",
    "material-icon-theme.activeIconPack": "react",
    "sync.removeExtensions": true,
    "sync.syncExtensions": true,
    "editor.quickSuggestions": {
        "strings": true
    },
    "element-helper.version": "2.3",
    "editor.wordWrap": "on",
    "gitlens.advanced.messages": {
        "suppressShowKeyBindingsNotice": true
    },
    "gitlens.historyExplorer.enabled": true,
    "minapp-vscode.disableAutoConfig": true,
    "breadcrumbs.enabled": true,
    "px-to-rem.px-per-rem": 37.5,
    "workbench.colorTheme": "Dracula Soft",
    "files.autoSave": "off",
    "javascript.updateImportsOnFileMove.enabled": "always",
    "editor.smoothScrolling": true
    // wxb88afe2feec4e6e0
}

转载于:https://www.cnblogs.com/zjh-study/p/10650095.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值