You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"cSpell.words": [
|
|
"antfu",
|
|
"demi",
|
|
"iconify",
|
|
"intlify",
|
|
"persistedstate",
|
|
"pinia",
|
|
"pnpm",
|
|
"Sider",
|
|
"unocss",
|
|
"unplugin",
|
|
"unref",
|
|
"Vite",
|
|
"vitejs",
|
|
"Vitesse",
|
|
"vitest",
|
|
"vmodel",
|
|
"vueuse"
|
|
],
|
|
"i18n-ally.sourceLanguage": "zh-CN",
|
|
"i18n-ally.keystyle": "nested",
|
|
"i18n-ally.localesPaths": "locales",
|
|
"i18n-ally.sortKeys": true,
|
|
// 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"
|
|
],
|
|
"files.associations": {
|
|
"*.css": "postcss"
|
|
}
|
|
}
|