eslint配置迁移到扁平模式。暂时没bug。
This commit is contained in:
@@ -68,10 +68,8 @@ export default defineConfig([
|
||||
pluginVue.configs["flat/essential"],
|
||||
{
|
||||
files: ["**/*.vue",],
|
||||
languageOptions: {
|
||||
sourceType: "module",
|
||||
ecmaVersion: "latest",
|
||||
parserOptions: { parser: tseslint.parser }
|
||||
languageOptions: {
|
||||
parserOptions: { parser: tseslint.parser, },
|
||||
},
|
||||
// rules: {
|
||||
// "vue/html-indent": ["error", 4,],
|
||||
|
||||
Reference in New Issue
Block a user