MeterSphere/.vscode/settings.json
2023-06-08 18:21:24 +08:00

31 lines
702 B
JSON

{
"typescript.tsdk": "/frontend/node_modules/typescript/lib",
"editor.codeActionsOnSave": {
"eslint.autoFixOnSave": true,
"source.fixAll.stylelint": true, // 开启stylelint自动修复
"source.fixAll.eslint": true, // 开启eslint自动修复
},
"editor.formatOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
],
// 配置stylelint检查的文件类型范围
"stylelint.validate": [
"css",
"less",
"postcss",
"scss",
"sass",
"vue"
],
"stylelint.enable": true,
"css.validate": false,
"less.validate": false,
"scss.validate": false,
}