chat-app/.vscode/settings.json

87 lines
2.3 KiB
JSON
Raw Normal View History

2024-11-11 06:46:14 +00:00
{
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "never"
},
// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{
"rule": "style/*",
"severity": "off"
},
{
"rule": "*-indent",
"severity": "off"
},
{
"rule": "*-spacing",
"severity": "off"
},
{
"rule": "*-spaces",
"severity": "off"
},
{
"rule": "*-order",
"severity": "off"
},
{
"rule": "*-dangle",
"severity": "off"
},
{
"rule": "*-newline",
"severity": "off"
},
{
"rule": "*quotes",
"severity": "off"
},
{
"rule": "*semi",
"severity": "off"
}
],
// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
],
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"vite.config.*": "pages.config.*, manifest.config.*, uno.config.*, volar.config.*, *.env, .env.*"
},
"search.exclude": {
"**/node_modules": true,
"**/uni_modules": true,
"**/build": true,
"**/dist": true,
"**/.git": true,
"**/.vscode": true
},
"i18n-ally.localesPaths": [
"src/uni_modules/tmui/locale",
"src/uni_modules/wot-design-uni/locale",
"src/uni_modules/wot-design-uni/locale/lang",
"src/uni_modules/tmui/tool/dayjs/locale",
"src/uni_modules/uni-popup/components/uni-popup/i18n",
"src/uni_modules/z-paging/components/z-paging/i18n",
"src/uni_modules/tmui/tool/dayjs/esm/locale"
],
"vue-i18n.i18nPaths": "src\\uni_modules\\tmui\\locale,src\\uni_modules\\wot-design-uni\\locale,src\\uni_modules\\wot-design-uni\\locale\\lang,src\\uni_modules\\tmui\\tool\\dayjs\\locale,src\\uni_modules\\uni-popup\\components\\uni-popup\\i18n,src\\uni_modules\\z-paging\\components\\z-paging\\i18n,src\\uni_modules\\tmui\\tool\\dayjs\\esm\\locale"
}