Remove module function wrapper and add matching configurations for dprint and eslint (#7596)

* remove blks first try

* dprint.json seems to be OK, some forgotten functions

* add some more space-after-keyword settings

* server remove blks

* add **/files to dprint exclude

* dprint.js fixes a typo

* add boot.js and bootprefix.js to dprint exclude

* dprint change dprint.json

* add dprint fmt as script

* remove jslint comments

* fix whitespace

* fix whitespace

* remove function-wrapper from geospatial plugin

* fix whitespace

* add function wrapper to dyannotate-startup

* remove dpring.json
This commit is contained in:
Mario Pietsch
2025-03-21 18:22:57 +01:00
committed by GitHub
parent 819d84ecab
commit 8aa558eb2c
511 changed files with 385 additions and 2505 deletions

View File

@@ -6,10 +6,7 @@ module-type: startup
Twitter initialisation
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
// Export name and synchronous status
@@ -23,5 +20,3 @@ exports.startup = function() {
logger.alert("The plugin 'tiddlywiki/twitter' is disabled until this wiki is saved and reloaded again");
}
};
})();

View File

@@ -6,10 +6,7 @@ module-type: widget
Twitter widget
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var Widget = require("$:/core/modules/widgets/widget.js").widget;
@@ -140,5 +137,3 @@ TwitterWidget.prototype.refresh = function(changedTiddlers) {
};
exports.twitter = TwitterWidget;
})();