mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-07 08:31:42 +00:00
Further update eslint configuration (#9474)
* Add comment to disable indent rule * Enable no-eval rule And only disable it in evalGlobal * Diable indent rule in bootprefix * Update change note * 更新 boot.js Co-authored-by: Mario Pietsch <pmariojo@gmail.com> --------- Co-authored-by: Mario Pietsch <pmariojo@gmail.com>
This commit is contained in:
@@ -12,6 +12,8 @@ See Boot.js for further details of the boot process.
|
||||
|
||||
\*/
|
||||
|
||||
/* eslint-disable @stylistic/indent */
|
||||
|
||||
var _bootprefix = (function($tw) {
|
||||
|
||||
"use strict";
|
||||
@@ -114,6 +116,8 @@ return $tw;
|
||||
|
||||
});
|
||||
|
||||
/* eslint-enable @stylistic/indent */
|
||||
|
||||
if(typeof(exports) === "undefined") {
|
||||
// Set up $tw global for the browser
|
||||
window.$tw = _bootprefix(window.$tw);
|
||||
|
||||
Reference in New Issue
Block a user