mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
add gloabals
This commit is contained in:
parent
1ef0204532
commit
e61d15e326
|
|
@ -13,7 +13,7 @@
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"import"
|
"import"
|
||||||
],
|
],
|
||||||
"ignorePatterns": ["**/*Test.js", "**/tests/**", "**/3D/**", "**/Hash/**", "Markdown.js"],
|
"ignorePatterns": ["**/*Test.js", "**/tests/**", "**/3D/**", "**/Hash/**", "Markdown.js", "**/Build/**"],
|
||||||
"globals": {
|
"globals": {
|
||||||
"document": "readonly",
|
"document": "readonly",
|
||||||
"navigator": "readonly",
|
"navigator": "readonly",
|
||||||
|
|
@ -21,8 +21,10 @@
|
||||||
"window": "readonly",
|
"window": "readonly",
|
||||||
"history": "readonly",
|
"history": "readonly",
|
||||||
"screen": "readonly",
|
"screen": "readonly",
|
||||||
|
"fetch": true,
|
||||||
"Image": "readonly",
|
"Image": "readonly",
|
||||||
"Blob": "readonly",
|
"Blob": "readonly",
|
||||||
|
"WebSocket": "readonly",
|
||||||
"Notification": "readonly",
|
"Notification": "readonly",
|
||||||
"XMLHttpRequest": "readonly",
|
"XMLHttpRequest": "readonly",
|
||||||
"HTMLElement": "readonly",
|
"HTMLElement": "readonly",
|
||||||
|
|
@ -38,7 +40,12 @@
|
||||||
"SpeechRecognitionEvent": true,
|
"SpeechRecognitionEvent": true,
|
||||||
"SpeechRecognition": true,
|
"SpeechRecognition": true,
|
||||||
"SpeechGrammarList": true,
|
"SpeechGrammarList": true,
|
||||||
"jsOMS": "readonly"
|
"DocumentFragment": true,
|
||||||
|
"opr": "readonly",
|
||||||
|
"isChrome": "readonly",
|
||||||
|
"isOpera": "readonly",
|
||||||
|
"jsOMS": "readonly",
|
||||||
|
"Logger": "readonly"
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-var": "warn",
|
"no-var": "warn",
|
||||||
|
|
@ -144,10 +151,6 @@
|
||||||
"after": true
|
"after": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"function-paren-newline": [
|
|
||||||
"error",
|
|
||||||
"consistent"
|
|
||||||
],
|
|
||||||
"key-spacing": [
|
"key-spacing": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user