@@ -6,6 +6,8 @@ import js from '@eslint/js'
66import { FlatCompat } from '@eslint/eslintrc'
77import stylisticTs from '@stylistic/eslint-plugin-ts'
88import cypress from 'eslint-plugin-cypress'
9+ import vueLint from 'eslint-plugin-vue'
10+ import prettier from 'eslint-config-prettier'
911
1012const __filename = fileURLToPath ( import . meta. url )
1113const __dirname = path . dirname ( __filename )
@@ -22,10 +24,10 @@ export default [
2224 ...compat . extends (
2325 'eslint:recommended' ,
2426 './eslint-vue-ts-recommended.cjs' ,
25- 'plugin:@typescript-eslint/recommended' ,
26- 'plugin:vue/vue3-recommended' ,
27- 'prettier'
27+ 'plugin:@typescript-eslint/recommended'
2828 ) ,
29+ ...vueLint . configs [ 'flat/recommended' ] ,
30+ prettier ,
2931 {
3032 plugins : {
3133 'unused-imports' : unusedImports ,
@@ -104,7 +106,6 @@ export default [
104106 }
105107 ] ,
106108
107- 'vue/v-on-function-call' : 'error' ,
108109 'vue/no-template-target-blank' : 'error' ,
109110 'vue/prefer-true-attribute-shorthand' : 'error' ,
110111 '@typescript-eslint/no-non-null-assertion' : 'warn' ,
@@ -127,6 +128,12 @@ export default [
127128 '@typescript-eslint/no-var-requires' : 'off'
128129 }
129130 } ,
131+ {
132+ files : [ '**/public/**/*.js' , '**/build/**/*.js' ] ,
133+ rules : {
134+ 'no-undef' : 'off'
135+ }
136+ } ,
130137 {
131138 plugins : { cypress } ,
132139 files : [ '**/tests/e2e/**/*.{js,cjs,jsx,ts,tsx}' ] ,
0 commit comments