Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b8ca0ff

Browse filesBrowse files
committed
update config
1 parent 9f2d1b5 commit b8ca0ff
Copy full SHA for b8ca0ff

File tree

3 files changed

+5
-9
lines changed
Filter options

3 files changed

+5
-9
lines changed

‎lib/configs/base.js

Copy file name to clipboardExpand all lines: lib/configs/base.js
+2-4Lines changed: 2 additions & 4 deletions
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',

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
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",

‎tools/update-lib-configs.js

Copy file name to clipboardExpand all lines: tools/update-lib-configs.js
+2-4Lines changed: 2 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.