File tree 3 files changed +5
-9
lines changed
3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 3
3
* This file has been automatically generated,
4
4
* in order to update its content execute "npm run update"
5
5
*/
6
+ const globals = require ( 'globals' )
6
7
module . exports = {
7
8
parser : require . resolve ( 'vue-eslint-parser' ) ,
8
9
parserOptions : {
9
10
ecmaVersion : 'latest' ,
10
11
sourceType : 'module'
11
12
} ,
12
- env : {
13
- browser : true ,
14
- es6 : true
15
- } ,
13
+ globals : globals . browser ,
16
14
plugins : [ 'vue' ] ,
17
15
rules : {
18
16
'vue/comment-directive' : 'error' ,
Original file line number Diff line number Diff line change 59
59
},
60
60
"dependencies" : {
61
61
"@eslint-community/eslint-utils" : " ^4.4.0" ,
62
- "globals" : " ^13.24 .0" ,
62
+ "globals" : " ^15.14 .0" ,
63
63
"natural-compare" : " ^1.4.0" ,
64
64
"nth-check" : " ^2.1.1" ,
65
65
"postcss-selector-parser" : " ^6.0.15" ,
Original file line number Diff line number Diff line change @@ -55,16 +55,14 @@ function formatCategory(category) {
55
55
* This file has been automatically generated,
56
56
* in order to update its content execute "npm run update"
57
57
*/
58
+ const globals = require('globals')
58
59
module.exports = {
59
60
parser: require.resolve('vue-eslint-parser'),
60
61
parserOptions: {
61
62
ecmaVersion: 'latest',
62
63
sourceType: 'module'
63
64
},
64
- env: {
65
- browser: true,
66
- es6: true
67
- },
65
+ globals: globals.browser,
68
66
plugins: [
69
67
'vue'
70
68
],
You can’t perform that action at this time.
0 commit comments