From ff18d5c2011c3bfb04bf380db6faf2a157efac33 Mon Sep 17 00:00:00 2001 From: Tuukka Ikkala Date: Sat, 23 May 2020 23:45:56 +0300 Subject: [PATCH] Remove "no-extra-semi": "off" and make linter happy --- apps/.eslintrc.json | 1 - apps/gpsnav/app.js | 2 +- apps/hidbkbd/hid-binary-keyboard.js | 2 +- apps/numerals/numerals.settings.js | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/.eslintrc.json b/apps/.eslintrc.json index 4b23abc34..98c594dc1 100644 --- a/apps/.eslintrc.json +++ b/apps/.eslintrc.json @@ -34,7 +34,6 @@ "no-constant-condition": "off", "no-delete-var": "off", "no-empty": "off", - "no-extra-semi": "off", "no-inner-declarations": "off", "no-mixed-spaces-and-tabs": "off", "no-octal": "off", diff --git a/apps/gpsnav/app.js b/apps/gpsnav/app.js index 5a6319385..960ad7e4d 100644 --- a/apps/gpsnav/app.js +++ b/apps/gpsnav/app.js @@ -190,7 +190,7 @@ function setButtons(){ setWatch(nextwp.bind(null,-1), BTN1, {repeat:true,edge:"falling"}); setWatch(doselect, BTN2, {repeat:true,edge:"falling"}); setWatch(nextwp.bind(null,1), BTN3, {repeat:true,edge:"falling"}); -}; +} var SCREENACCESS = { withApp:true, diff --git a/apps/hidbkbd/hid-binary-keyboard.js b/apps/hidbkbd/hid-binary-keyboard.js index 81838b42d..4b0401699 100644 --- a/apps/hidbkbd/hid-binary-keyboard.js +++ b/apps/hidbkbd/hid-binary-keyboard.js @@ -95,7 +95,7 @@ function startKeyboardHID() { getCharacter().then(ch => { return sendHID(KEY[ch]); }).then(startKeyboardHID); -}; +} if (settings.HID=="kb" || settings.HID=="kbmedia") { if (settings.HID=="kbmedia") { diff --git a/apps/numerals/numerals.settings.js b/apps/numerals/numerals.settings.js index 1e97271b6..37af6b6f2 100644 --- a/apps/numerals/numerals.settings.js +++ b/apps/numerals/numerals.settings.js @@ -1,7 +1,7 @@ (function(back) { function updateSettings() { storage.write('numerals.json', numeralsSettings); - }; + } function resetSettings() { numeralsSettings = { color:0,