mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-26 15:24:56 +00:00
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:
@@ -10,11 +10,9 @@ A sync adaptor module for synchronising with the local filesystem via node.js AP
|
||||
"use strict";
|
||||
|
||||
// Get a reference to the file system
|
||||
var fs = $tw.node ? require("fs") : null,
|
||||
path = $tw.node ? require("path") : null;
|
||||
var fs = $tw.node ? require("fs") : null;
|
||||
|
||||
function FileSystemAdaptor(options) {
|
||||
var self = this;
|
||||
this.wiki = options.wiki;
|
||||
this.boot = options.boot || $tw.boot;
|
||||
this.logger = new $tw.utils.Logger("filesystem",{colour: "blue"});
|
||||
|
||||
Reference in New Issue
Block a user