Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
f88169a9
Commit
f88169a9
authored
May 18, 2023
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extend eslint config
parent
9c54b78d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
6 deletions
+46
-6
.eslintrc.js
.eslintrc.js
+46
-6
No files found.
.eslintrc.js
View file @
f88169a9
...
...
@@ -3,7 +3,7 @@ module.exports = {
browser
:
true
,
es2021
:
true
,
},
// "extends"
: "eslint:recommended",
extends
:
"
eslint:recommended
"
,
parserOptions
:
{
ecmaVersion
:
"
latest
"
,
},
...
...
@@ -40,10 +40,50 @@ module.exports = {
"
switch-colon-spacing
"
:
"
error
"
,
"
template-curly-spacing
"
:
[
"
error
"
,
"
never
"
],
"
unicode-bom
"
:
"
error
"
,
// "no-multi-spaces": "error", // TODO: enable?
// "object-curly-spacing": "off", // TODO: enable?
// "object-property-newline": "off", // TODO: enable?
// "operator-linebreak": "off", // TODO: enable?
// "quotes": ["error", "double", {avoidEscape: true}], // TODO: enable?
"
no-multi-spaces
"
:
"
error
"
,
"
object-curly-spacing
"
:
[
"
error
"
,
"
never
"
],
"
operator-linebreak
"
:
[
"
error
"
,
"
after
"
],
"
no-unused-vars
"
:
"
off
"
,
"
no-redeclare
"
:
"
off
"
,
},
globals
:
{
// this file
module
:
"
writable
"
,
//script.js
gradioApp
:
"
writable
"
,
onUiLoaded
:
"
writable
"
,
onUiUpdate
:
"
writable
"
,
onOptionsChanged
:
"
writable
"
,
uiCurrentTab
:
"
writable
"
,
uiElementIsVisible
:
"
writable
"
,
executeCallbacks
:
"
writable
"
,
//ui.js
opts
:
"
writable
"
,
all_gallery_buttons
:
"
writable
"
,
selected_gallery_button
:
"
writable
"
,
selected_gallery_index
:
"
writable
"
,
args_to_array
:
"
writable
"
,
switch_to_txt2img
:
"
writable
"
,
switch_to_img2img_tab
:
"
writable
"
,
switch_to_img2img
:
"
writable
"
,
switch_to_sketch
:
"
writable
"
,
switch_to_inpaint
:
"
writable
"
,
switch_to_inpaint_sketch
:
"
writable
"
,
switch_to_extras
:
"
writable
"
,
get_tab_index
:
"
writable
"
,
create_submit_args
:
"
writable
"
,
restart_reload
:
"
writable
"
,
updateInput
:
"
writable
"
,
//extraNetworks.js
requestGet
:
"
writable
"
,
popup
:
"
writable
"
,
// from python
localization
:
"
writable
"
,
// progrssbar.js
randomId
:
"
writable
"
,
requestProgress
:
"
writable
"
,
// imageviewer.js
modalPrevImage
:
"
writable
"
,
modalNextImage
:
"
writable
"
,
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment