mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 14:26:42 +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:
@@ -9,8 +9,7 @@ Filter operators for geospatial transformation
|
||||
|
||||
"use strict";
|
||||
|
||||
var turf = require("$:/plugins/tiddlywiki/geospatial/turf.js"),
|
||||
geotools = require("$:/plugins/tiddlywiki/geospatial/geotools.js");
|
||||
var turf = require("$:/plugins/tiddlywiki/geospatial/turf.js");
|
||||
|
||||
exports.geounion = makeTransformation("union");
|
||||
|
||||
@@ -25,7 +24,7 @@ function makeTransformation(methodName) {
|
||||
source(function(tiddler,title) {
|
||||
var jsonObject = $tw.utils.parseJSONSafe(title,null);
|
||||
if(jsonObject) {
|
||||
jsonObjects.push(jsonObject)
|
||||
jsonObjects.push(jsonObject);
|
||||
}
|
||||
});
|
||||
// Perform the transformation
|
||||
|
||||
Reference in New Issue
Block a user