@@ -4,28 +4,15 @@ require('@rushstack/eslint-patch/modern-module-resolution')
4
4
module . exports = {
5
5
root : true ,
6
6
extends : [
7
- // add more generic rulesets here, such as:
8
- 'plugin:import/errors' ,
7
+ 'plugin:vue/vue3-essential' ,
9
8
'eslint:recommended' ,
10
- 'plugin: vue/vue3-recommended ' ,
9
+ '@ vue/eslint-config-typescript ' ,
11
10
'@vue/eslint-config-prettier/skip-formatting' ,
12
11
] ,
13
- parserOptions : {
14
- ecmaVersion : 'latest' ,
15
- } ,
16
- env : {
17
- browser : true ,
18
- amd : true ,
19
- node : true ,
20
- } ,
21
12
rules : {
22
- 'strict' : 'error' ,
23
13
'vue/multi-word-component-names' : 'off' ,
24
14
'object-curly-spacing' : [ 'error' , 'always' ] ,
25
15
'operator-linebreak' : [ 'error' , 'after' ] ,
26
- 'comma-dangle' : [ 'error' , 'never' ] ,
27
- 'import/no-duplicates' : 'error' ,
28
- 'import/no-unresolved' : 0 ,
29
16
'semi' : [ 'error' , 'never' ] ,
30
17
'indent' : [
31
18
'error' ,
@@ -35,7 +22,8 @@ module.exports = {
35
22
SwitchCase : 1 ,
36
23
} ,
37
24
] ,
38
- // override/add rules settings here, such as:
39
- 'vue/no-unused-vars' : 'error' ,
25
+ } ,
26
+ parserOptions : {
27
+ ecmaVersion : 'latest' ,
40
28
} ,
41
29
}
0 commit comments