chore: 将 lint 工具从 oxlint 切换为 eslint 并启用多语言支持
更新 package.json 中的 lint 脚本,使用 eslint 替代 oxlint 在 .vscode/settings.json 中启用 eslint 对所有支持语言的校验
This commit is contained in:
44
.vscode/settings.json
vendored
44
.vscode/settings.json
vendored
@@ -92,27 +92,27 @@
|
||||
|
||||
// Enable eslint for all supported languages
|
||||
"eslint.validate": [
|
||||
// "javascript",
|
||||
// "javascriptreact",
|
||||
// "typescript",
|
||||
// "typescriptreact",
|
||||
"vue"
|
||||
// "html",
|
||||
// "markdown",
|
||||
// "json",
|
||||
// "json5",
|
||||
// "jsonc",
|
||||
// "yaml",
|
||||
// "toml",
|
||||
// "xml",
|
||||
// "gql",
|
||||
// "graphql",
|
||||
// "astro",
|
||||
// "svelte",
|
||||
// "css",
|
||||
// "less",
|
||||
// "scss",
|
||||
// "pcss",
|
||||
// "postcss"
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"vue",
|
||||
"html",
|
||||
"markdown",
|
||||
"json",
|
||||
"json5",
|
||||
"jsonc",
|
||||
"yaml",
|
||||
"toml",
|
||||
"xml",
|
||||
"gql",
|
||||
"graphql",
|
||||
"astro",
|
||||
"svelte",
|
||||
"css",
|
||||
"less",
|
||||
"scss",
|
||||
"pcss",
|
||||
"postcss"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user