mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 02:09:06 +00:00
2e57599f41
move the gui workspace configuration from the main workspace to the gui workspace to avoid issues such as plugin warnings
74 lines
1.4 KiB
JSON
74 lines
1.4 KiB
JSON
{
|
|
"i18n-ally.localesPaths": [
|
|
"locales"
|
|
],
|
|
// 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.eslint": "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"
|
|
}
|
|
],
|
|
// Enable eslint for all supported languages
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml",
|
|
"toml",
|
|
"gql",
|
|
"graphql"
|
|
]
|
|
} |