Files
ylst-h5/.vscode/settings.json
Huangzhe 0427b82980 feat: 优化问卷分析页面样式和功能
1. 添加VSCode拼写检查配置,添加'vant'到字典
2. 优化问卷分析页面布局,设置100%宽度
3. 使用el-text组件优化问题标题的文本显示
4. 修复问卷项操作按钮的禁用状态逻辑
2025-05-19 13:53:25 +08:00

81 lines
3.0 KiB
JSON

{
"explorer.confirmDelete": false,
"editor.fontSize": 10,
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"window.zoomLevel": 1,
"workbench.iconTheme": "material-icon-theme",
"prettier.enable": true,
"editor.formatOnSave": false,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
"prettier.singleQuote": true,
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"files.associations": {
"*.html": "html",
"*.vue": "vue",
"*.ejs": "html",
"*.js": "javascript"
},
"vsicons.dontShowNewVersionMessage": true,
"autoimport.showNotifications": true,
"path-intellisense.mappings": {
"@": "${workspaceRoot}/src",
"/": "${workspaceRoot}/"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"css.validate": false, //用来校验CSS文件中的语法错误和潜在的问题
"less.validate": false, //用来校验LESS文件中的语法错误和潜在的问题
"scss.validate": false, //用来校验SCSS文件中的语法错误和潜在的问题
"editor.codeActionsOnSave": {
// 用于在保存文件时自动执行代码操作
"source.fixAll.eslint": "explicit", // 自动执行ESlint
"source.fixAll.stylelint": "explicit" // 自动执行stylelint
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"markdown",
"yaml",
"toml",
"xml",
"gql",
"graphql",
"astro"
],
"eslint.nodePath": "./node_modules/@yl/yili-fe-lint-config/node_modules", // 指定ESLint可执行文件路径
"eslint.options": {
// 用于配置
"overrideConfigFile": "./node_modules/@yl/yili-fe-lint-config/eslintrc.vue3.js" //该选项指定了 ESLint 应使用的配置文件路径。此项设置会覆盖所有其他位置查找的 ESLint 配置文件。
},
"stylelint.configBasedir": "./node_modules/@yl/yili-fe-lint-config/", //该选项用于定义 Stylelint 配置文件所基于的基础目录。当您的配置文件中使用 extends、plugins 或其他引用时,这个基础目录将作为解析路径的起点
"stylelint.configFile": "./node_modules/@yl/yili-fe-lint-config/stylelintrc.js", // 该选项指定了 stylelint 应使用的配置文件路径。此项设置会覆盖所有其他位置查找的 stylelint 配置文件
"stylelint.customSyntax": "postcss-scss", // 配置stylelint使用的预处理器
"stylelint.stylelintPath": "./node_modules/@yl/yili-fe-lint-config/node_modules/stylelint", // 指定stylelint安装路径
"stylelint.validate": [
"html",
"css",
"scss",
"less",
"vue"
],
"typescript.tsdk": "node_modules\\typescript\\lib",
"cSpell.words": [
"vant"
]
}