fewer blank lines

This commit is contained in:
Fabian 2024-07-24 16:14:17 +02:00
parent fada8a0fab
commit a66e3a2bfb
8 changed files with 1 additions and 9 deletions

View file

@ -17,6 +17,7 @@ export default [
"semi": "error",
"no-useless-return": "error",
"eqeqeq": "error",
"no-multiple-empty-lines": ["error", { "max": 2, "maxBOF": 0, "maxEOF": 0 }],
//"no-var": "error",
"radix": "error",
"comma-style": ["error", "last"],

View file

@ -27,4 +27,3 @@ this.onmessage = function(e)
{
emulator.serial0_send(e.data);
};

View file

@ -443,4 +443,3 @@ function KeyboardAdapter(bus)
keyboard.bus.send("keyboard-code", code);
}
}

View file

@ -61,4 +61,3 @@ WorkerBus.init = function(worker)
{
return new WorkerBus.Connector(worker);
};

View file

@ -101,4 +101,3 @@ Bus.create = function()
return [c0, c1];
};

View file

@ -143,8 +143,6 @@ CPU.prototype.debug_init = function()
line1 = "",
line2 = "";
for(var i = 0; i < 4; i++)
{
line1 += r32_names[i] + "=" + h(cpu.reg32[r32[r32_names[i]]] >>> 0, 8) + " ";

View file

@ -1,4 +1,3 @@
"use strict";
// https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html#x1-2900003
@ -295,4 +294,3 @@ VirtioConsole.prototype.Ack = function (queue_id, bufchain)
this.virtio.queues[queue_id].push_reply(bufchain);
this.virtio.queues[queue_id].flush_replies();
};

View file

@ -55,4 +55,3 @@ emulator.add_listener("serial0-output-byte", function(byte)
var chr = String.fromCharCode(byte);
process.stdout.write(chr);
});