Fixes ESLint errors (#9668)

* fix: apply automatic eslint fixes

* lint: allow hashbang comment for tiddlywiki.js

* lint: first back of manual lint fixes for unused vars

* lint: added more fixes for unused vars

* lint: missed files

* lint: updated eslint config with selected rules from #9669
This commit is contained in:
Saq Imtiaz
2026-02-20 09:38:42 +01:00
committed by GitHub
parent 08f2b8bdf4
commit 785086e0a5
270 changed files with 3827 additions and 3970 deletions

View File

@@ -68,7 +68,7 @@ function loadZipTiddler(title) {
base64: true
});
} catch(e) {
console.log("JSZip error: " + e)
console.log("JSZip error: " + e);
}
}
return zip;
@@ -77,8 +77,8 @@ function loadZipTiddler(title) {
function saveZipTiddler(title,zip) {
var data = zip.generate({
type: "base64"
});
type: "base64"
});
$tw.wiki.addTiddler({
title: title,
type: "application/zip",