Merge pull request #1428 from valadaptive/eslint-initial

Initial ESLint setup
This commit is contained in:
Cohee
2023-12-02 17:14:04 +02:00
committed by GitHub
3 changed files with 983 additions and 1 deletions
+3 -1
View File
@@ -58,7 +58,8 @@
"start": "node server.js",
"start-multi": "node server.js --disableCsrf",
"pkg": "pkg --compress Gzip --no-bytecode --public .",
"postinstall": "node post-install.js"
"postinstall": "node post-install.js",
"lint": "eslint \"src/**/*.js\" \"public/**/*.js\" ./server.js"
},
"bin": {
"sillytavern": "./server.js"
@@ -83,6 +84,7 @@
]
},
"devDependencies": {
"eslint": "^8.55.0",
"jquery": "^3.6.4",
"pkg": "^5.8.1",
"pkg-fetch": "^3.5.2"