vscode中setting.json配置前端项目

刘英彦
2023-12-01

设置中的setting.json

{
    "emmet.includeLanguages": {
        "vue-html": "html", 
        "javascript": "javascriptreact"
    },
    "eslint.enable": false,
    "files.autoSave": "afterDelay",
    "git.autofetch": true,
    "diffEditor.renderIndicators": false,
    "workbench.iconTheme": "material-icon-theme",
    "editor.fontSize": 12,
    "editor.lineHeight": 22,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "git.enableSmartCommit": true,
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "[html]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "[javascript]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "javascript.validate.enable": true,
    "todo-tree.tree.showScanModeButton": false,
    "workbench.colorTheme": "Dracula Soft",
    "javascript.suggest.autoImports": true,

    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "typescript",
        "typescriptreact"
    ],
    "gitlens.gitCommands.closeOnFocusOut": true,
    "terminal.integrated.shell.osx": "/bin/bash",
    "javascript.implicitProjectConfig.experimentalDecorators": true,
    "eslint.nodeEnv": "",
    "json.schemaDownload.enable": false,
    "eslint.options": {
        "parserOptions": {
            "ecmaVersion": 6,
        }
    },
    "markdown-preview-enhanced.mermaidTheme": "forest",
    "consoleLog.Show Semi": true,
    "emmet.preferences": {
    
    },
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": true
    },
}

 类似资料: