Some checks are pending
Check / lint (push) Waiting to run
Check / typecheck (push) Waiting to run
Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build, 18.x, windows-latest) (push) Waiting to run
Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run
87 lines
2.3 KiB
JSON
87 lines
2.3 KiB
JSON
{
|
|
// 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"
|
|
}
|