File tree 3 files changed +11
-3
lines changed
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ module.exports = {
14
14
} ,
15
15
parserOptions : {
16
16
ecmaVersion : 2020 ,
17
- sourceType : 'module' ,
18
- parser : '@typescript-eslint/parser'
17
+ sourceType : 'module'
19
18
}
20
19
} ,
21
20
rules : {
Original file line number Diff line number Diff line change @@ -305,4 +305,11 @@ module.exports = {
305
305
}
306
306
}
307
307
308
- module . exports . configs [ 'flat/vue3-essential' ] . plugins . vue = module . exports ;
308
+ module . exports . configs [ 'flat/base' ] . plugins . vue = module . exports
309
+ module . exports . configs [ 'flat/essential' ] . plugins . vue = module . exports
310
+ module . exports . configs [ 'flat/recommended' ] . plugins . vue = module . exports
311
+ module . exports . configs [ 'flat/strongly-recommended' ] . plugins . vue = module . exports
312
+ module . exports . configs [ 'flat/vue3-essential' ] . plugins . vue = module . exports
313
+ module . exports . configs [ 'flat/vue3-recommended' ] . plugins . vue = module . exports
314
+ module . exports . configs [ 'flat/vue3-strongly-recommended' ] . plugins . vue =
315
+ module . exports
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ module.exports = {
58
58
}
59
59
}
60
60
}
61
+
62
+ ${ configs . flat . map ( ( config ) => `module.exports.configs['${ config } '].plugins.vue = module.exports;` ) . join ( '\n' ) }
61
63
`
62
64
fs . writeFileSync ( filePath , content )
63
65
You can’t perform that action at this time.
0 commit comments