mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
run auto fix lint
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
mod(CodeMirror);
|
||||
})(function(CodeMirror) {
|
||||
"use strict";
|
||||
|
||||
// declare global: JSHINT
|
||||
|
||||
function validator(text, options) {
|
||||
@@ -72,7 +73,7 @@
|
||||
message: error.reason,
|
||||
severity: error.code ? (error.code.startsWith('W') ? "warning" : "error") : "error",
|
||||
from: CodeMirror.Pos(error.line - 1, start),
|
||||
to: CodeMirror.Pos(error.line - 1, end)
|
||||
to: CodeMirror.Pos(error.line - 1, end),
|
||||
};
|
||||
|
||||
output.push(hint);
|
||||
|
||||
Reference in New Issue
Block a user