mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-10 18:59:49 +00:00
Add basic ESLint configuration for formatting
This doesn't enable any of ESLint's actual possible-issue linting, but just style normalization based on the Prettier configuration (but without line length limits).
This commit is contained in:
11
package.json
Normal file
11
package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "stable-diffusion-webui",
|
||||
"version": "0.0.0",
|
||||
"devDependencies": {
|
||||
"eslint": "^8.40.0"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"fix": "eslint --fix ."
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user