mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 10:36:39 +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,8 +10,8 @@ exports.name = "extlink";
|
||||
|
||||
exports.serialize = function(tree,serialize) {
|
||||
if(tree.type === "text") {
|
||||
return "~" + tree.text;
|
||||
return "~" + tree.text;
|
||||
} else if(tree.type === "element" && tree.tag === "a") {
|
||||
return tree.attributes.href.value;
|
||||
return tree.attributes.href.value;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user