mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-06-01 19:51:54 +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:
@@ -47,10 +47,10 @@ exports.repackPlugin = function(title,additionalTiddlers,excludeTiddlers) {
|
||||
});
|
||||
// Retrieve and bump the version number
|
||||
var pluginVersion = $tw.utils.parseVersion(pluginTiddler.getFieldString("version") || "0.0.0") || {
|
||||
major: "0",
|
||||
minor: "0",
|
||||
patch: "0"
|
||||
};
|
||||
major: "0",
|
||||
minor: "0",
|
||||
patch: "0"
|
||||
};
|
||||
pluginVersion.patch++;
|
||||
var version = pluginVersion.major + "." + pluginVersion.minor + "." + pluginVersion.patch;
|
||||
if(pluginVersion.prerelease) {
|
||||
|
||||
Reference in New Issue
Block a user