Skip to content

Commit 4496000

Browse files
ota-meshiFloEdelmann
authored andcommitted
update config
1 parent ee386c6 commit 4496000

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

Diff for: lib/configs/base.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
* This file has been automatically generated,
44
* in order to update its content execute "npm run update"
55
*/
6+
const globals = require('globals')
67
module.exports = {
78
parser: require.resolve('vue-eslint-parser'),
89
parserOptions: {
910
ecmaVersion: 'latest',
1011
sourceType: 'module'
1112
},
12-
env: {
13-
browser: true,
14-
es6: true
15-
},
13+
globals: globals.browser,
1614
plugins: ['vue'],
1715
rules: {
1816
'vue/comment-directive': 'error',

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"dependencies": {
6161
"@eslint-community/eslint-utils": "^4.4.0",
62-
"globals": "^13.24.0",
62+
"globals": "^15.14.0",
6363
"natural-compare": "^1.4.0",
6464
"nth-check": "^2.1.1",
6565
"postcss-selector-parser": "^6.0.15",

Diff for: tools/update-lib-configs.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,14 @@ function formatCategory(category) {
5555
* This file has been automatically generated,
5656
* in order to update its content execute "npm run update"
5757
*/
58+
const globals = require('globals')
5859
module.exports = {
5960
parser: require.resolve('vue-eslint-parser'),
6061
parserOptions: {
6162
ecmaVersion: 'latest',
6263
sourceType: 'module'
6364
},
64-
env: {
65-
browser: true,
66-
es6: true
67-
},
65+
globals: globals.browser,
6866
plugins: [
6967
'vue'
7068
],

0 commit comments

Comments
 (0)