Update eslint rules (#1401)
This commit is contained in:
parent
750bb67b4a
commit
723a5a5a35
@ -3,7 +3,11 @@
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 8,
|
||||
"sourceType": "script"
|
||||
"sourceType": "script",
|
||||
"ecmaFeatures": {
|
||||
"globalReturn": false,
|
||||
"impliedStrict": true
|
||||
}
|
||||
},
|
||||
"env": {
|
||||
"browser": true,
|
||||
@ -203,6 +207,18 @@
|
||||
"Intl": "readonly",
|
||||
"crypto": "readonly"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"ext/js/**/*.js"
|
||||
],
|
||||
"excludedFiles": [
|
||||
"ext/js/core.js",
|
||||
"ext/js/**/*main.js"
|
||||
],
|
||||
"rules": {
|
||||
"no-implicit-globals": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user