File tree 2 files changed +6
-16
lines changed
2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,10 @@ const globals = require('globals')
7
7
const vueEslintParser = require ( 'vue-eslint-parser' )
8
8
module . exports = {
9
9
languageOptions : {
10
+ ecmaVersion : 2020 ,
11
+ sourceType : 'module' ,
10
12
parser : vueEslintParser ,
11
- globals : {
12
- ...globals . browser ,
13
- ...globals . es2015
14
- } ,
15
- parserOptions : {
16
- ecmaVersion : 2020 ,
17
- sourceType : 'module'
18
- }
13
+ globals : globals . browser
19
14
} ,
20
15
rules : {
21
16
'vue/comment-directive' : 'error' ,
Original file line number Diff line number Diff line change @@ -62,15 +62,10 @@ const globals = require('globals')
62
62
const vueEslintParser = require('vue-eslint-parser')
63
63
module.exports = {
64
64
languageOptions: {
65
+ ecmaVersion: 2020,
66
+ sourceType: 'module',
65
67
parser: vueEslintParser,
66
- globals: {
67
- ...globals.browser,
68
- ...globals.es2015
69
- },
70
- parserOptions: {
71
- ecmaVersion: 2020,
72
- sourceType: 'module'
73
- }
68
+ globals: globals.browser,
74
69
},
75
70
rules: ${ formatRules ( category . rules , category . categoryId ) }
76
71
}
You can’t perform that action at this time.
0 commit comments