mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 22:07:26 +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:
@@ -11,7 +11,7 @@ exports.name = "macrodef";
|
||||
exports.serialize = function(tree,serialize) {
|
||||
var name = tree.attributes.name.value;
|
||||
var params = tree.params.map(function(param) {
|
||||
return param.name + (param.default ? ":" + param.default : "");
|
||||
return param.name + (param.default ? ":" + param.default : "");
|
||||
}).join(",");
|
||||
var definition = tree.attributes.value.value;
|
||||
if(tree.isBlock) {
|
||||
|
||||
Reference in New Issue
Block a user