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": [
|
||||
"import"
|
||||
],
|
||||
"ignorePatterns": ["**/*Test.js", "**/tests/**", "**/3D/**", "**/Hash/**", "Markdown.js"],
|
||||
"ignorePatterns": ["**/*Test.js", "**/tests/**", "**/3D/**", "**/Hash/**", "Markdown.js", "**/Build/**"],
|
||||
"globals": {
|
||||
"document": "readonly",
|
||||
"navigator": "readonly",
|
||||
|
|
@ -21,8 +21,10 @@
|
|||
"window": "readonly",
|
||||
"history": "readonly",
|
||||
"screen": "readonly",
|
||||
"fetch": true,
|
||||
"Image": "readonly",
|
||||
"Blob": "readonly",
|
||||
"WebSocket": "readonly",
|
||||
"Notification": "readonly",
|
||||
"XMLHttpRequest": "readonly",
|
||||
"HTMLElement": "readonly",
|
||||
|
|
@ -38,7 +40,12 @@
|
|||
"SpeechRecognitionEvent": true,
|
||||
"SpeechRecognition": true,
|
||||
"SpeechGrammarList": true,
|
||||
"jsOMS": "readonly"
|
||||
"DocumentFragment": true,
|
||||
"opr": "readonly",
|
||||
"isChrome": "readonly",
|
||||
"isOpera": "readonly",
|
||||
"jsOMS": "readonly",
|
||||
"Logger": "readonly"
|
||||
},
|
||||
"rules": {
|
||||
"no-var": "warn",
|
||||
|
|
@ -144,10 +151,6 @@
|
|||
"after": true
|
||||
}
|
||||
],
|
||||
"function-paren-newline": [
|
||||
"error",
|
||||
"consistent"
|
||||
],
|
||||
"key-spacing": [
|
||||
"error",
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user