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:
Aarni Koskela
2023-05-17 13:23:01 +03:00
parent 9ac85b8b73
commit 13f4c62ba3
4 changed files with 66 additions and 0 deletions

11
package.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "stable-diffusion-webui",
"version": "0.0.0",
"devDependencies": {
"eslint": "^8.40.0"
},
"scripts": {
"lint": "eslint .",
"fix": "eslint --fix ."
}
}