Merge branch 'main' into base-sard-ui
This commit is contained in:
commit
f500c48482
30
.vscode/settings.json
vendored
30
.vscode/settings.json
vendored
@ -56,25 +56,25 @@
|
|||||||
"eslint.config.mjs": "tsconfig.json,.commitlintrc.*,.prettier*,.editorconfig,.commitlint.cjs,.eslint*"
|
"eslint.config.mjs": "tsconfig.json,.commitlintrc.*,.prettier*,.editorconfig,.commitlint.cjs,.eslint*"
|
||||||
},
|
},
|
||||||
|
|
||||||
// 保存的时候自动格式化
|
// // 保存的时候自动格式化
|
||||||
"prettier.enable": true,
|
// "prettier.enable": true,
|
||||||
"editor.formatOnSave": true,
|
// "editor.formatOnSave": true,
|
||||||
// 开启自动修复
|
// // 开启自动修复
|
||||||
"editor.codeActionsOnSave": {
|
// "editor.codeActionsOnSave": {
|
||||||
"source.fixAll": "explicit",
|
// "source.fixAll": "explicit",
|
||||||
"source.fixAll.eslint": "explicit",
|
// "source.fixAll.eslint": "explicit",
|
||||||
"source.fixAll.stylelint": "explicit"
|
// "source.fixAll.stylelint": "explicit"
|
||||||
},
|
// },
|
||||||
|
|
||||||
// Disable the default formatter, use eslint instead
|
// Disable the default formatter, use eslint instead
|
||||||
// "prettier.enable": false,
|
"prettier.enable": false,
|
||||||
// "editor.formatOnSave": false,
|
"editor.formatOnSave": false,
|
||||||
|
|
||||||
// Auto fix
|
// Auto fix
|
||||||
// "editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
// "source.fixAll.eslint": "explicit",
|
"source.fixAll.eslint": "explicit",
|
||||||
// "source.organizeImports": "never"
|
"source.organizeImports": "never"
|
||||||
// },
|
},
|
||||||
|
|
||||||
// Silent the stylistic rules in you IDE, but still auto fix them
|
// Silent the stylistic rules in you IDE, but still auto fix them
|
||||||
"eslint.rules.customizations": [
|
"eslint.rules.customizations": [
|
||||||
|
26
.vscode/vue3.code-snippets
vendored
26
.vscode/vue3.code-snippets
vendored
@ -27,12 +27,12 @@
|
|||||||
" },",
|
" },",
|
||||||
"}",
|
"}",
|
||||||
"</route>\n",
|
"</route>\n",
|
||||||
"<template>",
|
|
||||||
" <view class=\"\">$2</view>",
|
|
||||||
"</template>\n",
|
|
||||||
"<script lang=\"ts\" setup>",
|
"<script lang=\"ts\" setup>",
|
||||||
"//$3",
|
"//$3",
|
||||||
"</script>\n",
|
"</script>\n",
|
||||||
|
"<template>",
|
||||||
|
" <view class=\"\">$2</view>",
|
||||||
|
"</template>\n",
|
||||||
"<style lang=\"scss\" scoped>",
|
"<style lang=\"scss\" scoped>",
|
||||||
"//$4",
|
"//$4",
|
||||||
"</style>\n",
|
"</style>\n",
|
||||||
@ -41,16 +41,28 @@
|
|||||||
"Print unibest style": {
|
"Print unibest style": {
|
||||||
"scope": "vue",
|
"scope": "vue",
|
||||||
"prefix": "st",
|
"prefix": "st",
|
||||||
"body": ["<style lang=\"scss\" scoped>", "//", "</style>\n"],
|
"body": [
|
||||||
|
"<style lang=\"scss\" scoped>",
|
||||||
|
"//",
|
||||||
|
"</style>\n"
|
||||||
|
],
|
||||||
},
|
},
|
||||||
"Print unibest script": {
|
"Print unibest script": {
|
||||||
"scope": "vue",
|
"scope": "vue",
|
||||||
"prefix": "sc",
|
"prefix": "sc",
|
||||||
"body": ["<script lang=\"ts\" setup>", "//$3", "</script>\n"],
|
"body": [
|
||||||
|
"<script lang=\"ts\" setup>",
|
||||||
|
"//$3",
|
||||||
|
"</script>\n"
|
||||||
|
],
|
||||||
},
|
},
|
||||||
"Print unibest template": {
|
"Print unibest template": {
|
||||||
"scope": "vue",
|
"scope": "vue",
|
||||||
"prefix": "te",
|
"prefix": "te",
|
||||||
"body": ["<template>", " <view class=\"\">$1</view>", "</template>\n"],
|
"body": [
|
||||||
|
"<template>",
|
||||||
|
" <view class=\"\">$1</view>",
|
||||||
|
"</template>\n"
|
||||||
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user