📦 theajack / jsbox

📄 settings.json · 29 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29{
    "editor.formatOnSave": false, // 每次保存的时候将代码按eslint格式进行修复
    "eslint.validate": [
      //开启对.vue文件中错误的检查
      "javascript",
      "javascriptreact",
      "html",
      "vue",
      {
        "language": "html",
        "autoFix": true
      },
      {
        "language": "vue",
        "autoFix": true
      }
    ],
    "search.exclude": {        
      "**/node_modules": true,
      "**/cdn": true,
      "**/npm": true
    },
    "eslint.autoFixOnSave": true,
    "typescript.validate.enable": true,
    "editor.codeActionsOnSave": {
      "source.fixAll.eslint": "explicit"
    }
  }