This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
forked from vladmandic/automatic
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
90 lines (90 loc) · 2.25 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"parserOptions": {
"ecmaVersion": 2020
},
"plugins": [],
"extends": [
"eslint:recommended",
"airbnb-base"
],
"env": {
"browser": true,
"commonjs": false,
"node": false,
"jquery": false,
"es2020": true
},
"rules": {
"max-len": [1, 275, 3],
"camelcase":"off",
"default-case":"off",
"no-bitwise":"off",
"no-confusing-arrow":"off",
"no-console":"off",
"no-empty":"off",
"no-mixed-operators":"off",
"no-param-reassign":"off",
"no-plusplus":"off",
"no-restricted-globals":"off",
"no-restricted-syntax":"off",
"no-return-assign":"off",
"no-unused-vars":"off",
"no-useless-escape":"off",
"object-curly-newline":"off",
"prefer-rest-params":"off",
"radix":"off"
},
"globals": {
// asssets
"panzoom": "readonly",
//script.js
"gradioApp": "readonly",
"executeCallbacks": "readonly",
"onAfterUiUpdate": "readonly",
"onOptionsChanged": "readonly",
"optionsChangedCallbacks": "readonly",
"onUiLoaded": "readonly",
"onUiUpdate": "readonly",
"uiCurrentTab": "writable",
"uiElementIsVisible": "readonly",
"uiElementInSight": "readonly",
"getUICurrentTabContent": "readonly",
//ui.js
"opts": "writable",
"all_gallery_buttons": "readonly",
"selected_gallery_button": "readonly",
"selected_gallery_index": "readonly",
"switch_to_txt2img": "readonly",
"switch_to_img2img_tab": "readonly",
"switch_to_img2img": "readonly",
"switch_to_sketch": "readonly",
"switch_to_inpaint": "readonly",
"witch_to_inpaint_sketch": "readonly",
"switch_to_extras": "readonly",
"get_tab_index": "readonly",
"create_submit_args": "readonly",
"restart_reload": "readonly",
"updateInput": "readonly",
//extraNetworks.js
"requestGet": "readonly",
"popup": "readonly",
// from python
"localization": "readonly",
// progressbar.js
"randomId": "readonly",
"requestProgress": "readonly",
// imageviewer.js
"modalPrevImage": "readonly",
"modalNextImage": "readonly",
// loader.js
"removeSplash": "readonly"
},
"ignorePatterns": [
"node_modules",
"extensions",
"extensions-builtin",
"repositories",
"venv",
"panzoom.js"
]
}