From 6d1cebc24af21333437706c5cdf45210c10b15da Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Sat, 5 Sep 2020 11:04:11 +0200 Subject: [PATCH] Ignore recording variables in our linter --- kasmweb/tests/playback-ui.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kasmweb/tests/playback-ui.js b/kasmweb/tests/playback-ui.js index 09f7516..d76adb4 100644 --- a/kasmweb/tests/playback-ui.js +++ b/kasmweb/tests/playback-ui.js @@ -41,6 +41,7 @@ function enableUI() { document.getElementById('mode1').checked = true; } + /* eslint-disable-next-line camelcase */ message("Loaded " + VNC_frame_data.length + " frames"); const startButton = document.getElementById('startButton'); @@ -49,12 +50,16 @@ function enableUI() { message("Converting..."); + /* eslint-disable-next-line camelcase */ frames = VNC_frame_data; let encoding; - // Only present in older recordings + + /* eslint-disable camelcase */ if (window.VNC_frame_encoding) { + // Only present in older recordings encoding = VNC_frame_encoding; + /* eslint-enable camelcase */ } else { let frame = frames[0]; let start = frame.indexOf('{', 1) + 1;