11import  vue  from  'eslint-plugin-vue' ; 
2- import  { 
3-  defineConfigWithVueTs , 
4-  vueTsConfigs , 
5- }  from  '@vue/eslint-config-typescript' ; 
6- import  eslint  from  '@eslint/js' ; 
7- import  globals  from  'globals' ; 
2+ import  {  defineConfigWithVueTs ,  vueTsConfigs  }  from  '@vue/eslint-config-typescript' ; 
83
94export  default  [ 
105 // Global ignores 
@@ -15,23 +10,6 @@ export default [
1510 'public' , 
1611 ] , 
1712 } , 
18-  // JavaScript files 
19-  { 
20-  files : [ '**/*.js' ] , 
21-  ...eslint . configs . recommended , 
22-  languageOptions : { 
23-  ecmaVersion : 'latest' , 
24-  sourceType : 'module' , 
25-  globals : { 
26-  ...globals . browser , 
27-  ...globals . node , 
28-  process : 'readonly' , 
29-  module : 'readonly' , 
30-  require : 'readonly' , 
31-  window : 'readonly' , 
32-  } , 
33-  } , 
34-  } , 
3513 // Vue and TypeScript files 
3614 ...defineConfigWithVueTs ( 
3715 vue . configs [ 'flat/recommended' ] , 
@@ -42,14 +20,14 @@ export default [
4220 'vue/attribute-hyphenation' : 'off' , 
4321 'vue/v-on-event-hyphenation' : 'off' , 
4422 'vue/multi-word-component-names' : 'off' , 
45-  'vue/block-lang' : 'off' , 
23+  // 'vue/block-lang': 'off',
4624 'vue/no-v-html' : 'off' , 
4725 'vue/html-indent' : [ 'error' ,  4 ] , 
4826 '@typescript-eslint/no-explicit-any' : 'off' , 
4927 indent : [ 'error' ,  4 ] , 
5028 semi : [ 'error' ,  'always' ] , 
5129 'linebreak-style' : [ 'error' ,  'unix' ] , 
5230 } , 
53-  } 
31+  } , 
5432 ) , 
55- ] ; 
33+ ] ; 
0 commit comments