File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Original file line number Diff line number Diff line change @@ -8,18 +8,23 @@ module.exports = {
8
8
jsx : true ,
9
9
} ,
10
10
} ,
11
- env : {
12
- jest : true
13
- } ,
14
11
extends : [
12
+ 'plugin:vue/vue3-essential' ,
13
+ 'eslint:recommended' ,
15
14
'@vue/typescript/recommended' ,
16
15
'@vue/prettier' ,
17
16
'@vue/prettier/@typescript-eslint' ,
18
- 'eslint:recommended' ,
19
- 'plugin:vue/vue3-recommended' ,
20
17
] ,
21
18
rules : {
22
- // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
23
- // e.g. "@typescript-eslint/explicit-function-return-type": " off" ,
19
+ 'no-console' : process . env . NODE_ENV === 'production' ? 'warn' : 'off' ,
20
+ 'no-debugger' : process . env . NODE_ENV === 'production' ? 'warn' : ' off' ,
24
21
} ,
22
+ overrides : [
23
+ {
24
+ files : [ '**/__tests__/*.{j,t}s?(x)' , '**/tests/unit/**/*.spec.{j,t}s?(x)' ] ,
25
+ env : {
26
+ jest : true ,
27
+ } ,
28
+ } ,
29
+ ] ,
25
30
}
You can’t perform that action at this time.
0 commit comments