1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-07 17:28:05 +00:00

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,9 +6,6 @@ module-type: command
The command which executes jasmine on the command line for TiddlyWiki5
\*/
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var jasmine = require("./jasmine-plugin.js");

View File

@@ -6,10 +6,8 @@ module-type: library
The main module of the Jasmine test plugin for TiddlyWiki5
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: true */
"use strict";
var TEST_TIDDLER_FILTER = "[all[tiddlers+shadows]type[application/javascript]tag[$:/tags/test-spec]]";
@@ -157,5 +155,3 @@ exports.runTests = function(callback,specFilter) {
nodeJasmineWrapper.execute(null,specFilter);
}
};
})();

View File

@@ -6,10 +6,7 @@ tags: [[$:/tags/test-spec]]
Tests the wiki based tests
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var TEST_WIKI_TIDDLER_FILTER = "[all[tiddlers+shadows]type[text/vnd.tiddlywiki-multiple]tag[$:/tags/wiki-test-spec]]";
@@ -99,5 +96,3 @@ describe("Wiki-based tests", function() {
}
});
})();

View File

@@ -6,10 +6,8 @@ module-type: startup
The main module of the Jasmine test plugin for TiddlyWiki5
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: true */
"use strict";
var jasmine = require("./jasmine-plugin.js");
@@ -34,5 +32,3 @@ if($tw.browser) {
// We make this check after the commands are run.
exports.after = ["commands"];
}
})();