add assets subrepo
This commit is contained in:
5
.eslintignore
Executable file
5
.eslintignore
Executable file
@@ -0,0 +1,5 @@
|
||||
extensions
|
||||
extensions-disabled
|
||||
extensions-builtin/sd_forge_controlnet
|
||||
repositories
|
||||
venv
|
||||
98
.eslintrc.js
Executable file
98
.eslintrc.js
Executable file
@@ -0,0 +1,98 @@
|
||||
/* global module */
|
||||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true,
|
||||
},
|
||||
extends: "eslint:recommended",
|
||||
parserOptions: {
|
||||
ecmaVersion: "latest",
|
||||
},
|
||||
rules: {
|
||||
"arrow-spacing": "error",
|
||||
"block-spacing": "error",
|
||||
"brace-style": "error",
|
||||
"comma-dangle": ["error", "only-multiline"],
|
||||
"comma-spacing": "error",
|
||||
"comma-style": ["error", "last"],
|
||||
"curly": ["error", "multi-line", "consistent"],
|
||||
"eol-last": "error",
|
||||
"func-call-spacing": "error",
|
||||
"function-call-argument-newline": ["error", "consistent"],
|
||||
"function-paren-newline": ["error", "consistent"],
|
||||
"indent": ["error", 4],
|
||||
"key-spacing": "error",
|
||||
"keyword-spacing": "error",
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"no-extra-semi": "error",
|
||||
"no-mixed-spaces-and-tabs": "error",
|
||||
"no-multi-spaces": "error",
|
||||
"no-redeclare": ["error", {builtinGlobals: false}],
|
||||
"no-trailing-spaces": "error",
|
||||
"no-unused-vars": "off",
|
||||
"no-whitespace-before-property": "error",
|
||||
"object-curly-newline": ["error", {consistent: true, multiline: true}],
|
||||
"object-curly-spacing": ["error", "never"],
|
||||
"operator-linebreak": ["error", "after"],
|
||||
"quote-props": ["error", "consistent-as-needed"],
|
||||
"semi": ["error", "always"],
|
||||
"semi-spacing": "error",
|
||||
"semi-style": ["error", "last"],
|
||||
"space-before-blocks": "error",
|
||||
"space-before-function-paren": ["error", "never"],
|
||||
"space-in-parens": ["error", "never"],
|
||||
"space-infix-ops": "error",
|
||||
"space-unary-ops": "error",
|
||||
"switch-colon-spacing": "error",
|
||||
"template-curly-spacing": ["error", "never"],
|
||||
"unicode-bom": "error",
|
||||
},
|
||||
globals: {
|
||||
//script.js
|
||||
gradioApp: "readonly",
|
||||
executeCallbacks: "readonly",
|
||||
onAfterUiUpdate: "readonly",
|
||||
onOptionsChanged: "readonly",
|
||||
onUiLoaded: "readonly",
|
||||
onUiUpdate: "readonly",
|
||||
uiCurrentTab: "writable",
|
||||
uiElementInSight: "readonly",
|
||||
uiElementIsVisible: "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",
|
||||
switch_to_inpaint_sketch: "readonly",
|
||||
switch_to_extras: "readonly",
|
||||
get_tab_index: "readonly",
|
||||
create_submit_args: "readonly",
|
||||
restart_reload: "readonly",
|
||||
updateInput: "readonly",
|
||||
onEdit: "readonly",
|
||||
//extraNetworks.js
|
||||
requestGet: "readonly",
|
||||
popup: "readonly",
|
||||
// profilerVisualization.js
|
||||
createVisualizationTable: "readonly",
|
||||
// from python
|
||||
localization: "readonly",
|
||||
// progrssbar.js
|
||||
randomId: "readonly",
|
||||
requestProgress: "readonly",
|
||||
// imageviewer.js
|
||||
modalPrevImage: "readonly",
|
||||
modalNextImage: "readonly",
|
||||
// localStorage.js
|
||||
localSet: "readonly",
|
||||
localGet: "readonly",
|
||||
localRemove: "readonly",
|
||||
// resizeHandle.js
|
||||
setupResizeHandle: "writable"
|
||||
}
|
||||
};
|
||||
2
.git-blame-ignore-revs
Executable file
2
.git-blame-ignore-revs
Executable file
@@ -0,0 +1,2 @@
|
||||
# Apply ESlint
|
||||
9c54b78d9dde5601e916f308d9a9d6953ec39430
|
||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "repositories/stable-diffusion-webui-assets"]
|
||||
path = repositories/stable-diffusion-webui-assets
|
||||
url = https://git.mirror.bacruru.ru/AUTOMATIC1111/stable-diffusion-webui-assets
|
||||
3
.pylintrc
Executable file
3
.pylintrc
Executable file
@@ -0,0 +1,3 @@
|
||||
# See https://pylint.pycqa.org/en/latest/user_guide/messages/message_control.html
|
||||
[MESSAGES CONTROL]
|
||||
disable=C,R,W,E,I
|
||||
1
repositories/stable-diffusion-webui-assets
Submodule
1
repositories/stable-diffusion-webui-assets
Submodule
Submodule repositories/stable-diffusion-webui-assets added at 6f7db241d2
Reference in New Issue
Block a user