forked from zhouruizhe/gmTouringMiniApp
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"cSpell.words": ["Vitesse", "Vite", "unocss", "vitest", "vueuse", "pinia", "demi", "antfu", "iconify", "intlify", "vitejs", "unplugin", "pnpm", "composables"],
|
|
|
|
// Enable the ESlint flat config support
|
|
"eslint.experimental.useFlatConfig": true,
|
|
|
|
// Disable the default formatter
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
|
|
"stylelint.validate": [
|
|
"css",
|
|
"scss",
|
|
"vue"
|
|
],
|
|
// Auto fix
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "never",
|
|
"source.fixAll.eslint": "explicit",
|
|
"source.fixAll.stylelint": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
|
|
// Silent the stylistic rules in you IDE, but still auto fix them
|
|
"eslint.rules.customizations": [
|
|
{ "rule": "style/*", "severity": "off" },
|
|
{ "rule": "format/*", "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" }
|
|
],
|
|
|
|
// The following is optional.
|
|
// It's better to put under project setting `.vscode/settings.json`
|
|
// to avoid conflicts with working with different eslint configs
|
|
// that does not support all formats.
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml",
|
|
"toml",
|
|
"xml",
|
|
"gql",
|
|
"graphql",
|
|
"astro",
|
|
"css",
|
|
"less",
|
|
"scss",
|
|
"pcss",
|
|
"postcss"
|
|
]
|
|
}
|