diff --git a/.eslintrc.json b/.eslintrc.json index 9a46ce0..a4c9d9d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,6 +12,7 @@ "rules": { "no-console": "off", "no-trailing-spaces": "error", - "no-unused-vars": ["error", {"varsIgnorePattern": "ignore"}] + "no-unused-vars": ["error", {"varsIgnorePattern": "ignore"}], + "semi": ["error", "always"] } } diff --git a/add-on/background_scripts/background.js b/add-on/background_scripts/background.js index 5002cee..f75a50f 100644 --- a/add-on/background_scripts/background.js +++ b/add-on/background_scripts/background.js @@ -180,7 +180,7 @@ url: details.url, name: constants.cookieName, value: encodedOptions - }) + }); return { responseHeaders: details.responseHeaders diff --git a/test/functional/lib/utils.js b/test/functional/lib/utils.js index c7abbd0..9f168bd 100644 --- a/test/functional/lib/utils.js +++ b/test/functional/lib/utils.js @@ -19,7 +19,7 @@ module.exports.constants = { module.exports.pause = function (ms = 2000) { return new Promise(function (resolve) { - setTimeout(resolve, ms) + setTimeout(resolve, ms); }); }; @@ -63,7 +63,7 @@ module.exports.promiseExtensionConfigPage = function (driver) { const extensionId = match[1]; driver.setContext(Context.CONTENT); return driver.get(`moz-extension://${extensionId}/config/index.html`); - }) + }); }; module.exports.promiseAddonConfigButton = function (driver) { diff --git a/test/functional/logins.js b/test/functional/logins.js index 6607092..5c4f227 100644 --- a/test/functional/logins.js +++ b/test/functional/logins.js @@ -1,7 +1,7 @@ "use strict"; const utils = require("./lib/utils"); -let testParams +let testParams; try { testParams = require("../../test.config.js"); } catch (e) {