mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-01 03:28:59 +08:00
31 lines
660 B
JSON
31 lines
660 B
JSON
{
|
|
"typescript.tsdk": "/frontend/node_modules/typescript/lib",
|
|
"editor.codeActionsOnSave": {
|
|
"eslint.autoFixOnSave": "explicit",
|
|
"source.fixAll.stylelint": "explicit",
|
|
"source.fixAll.eslint": "explicit"
|
|
},
|
|
"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,
|
|
} |