From 34bcc1a5c2750b6f6fa9d9b971ac8aff796ddd1c Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 6 Apr 2022 17:35:05 +1000 Subject: linting - eslint - also adding eslintrc --- common/Test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/Test.js') diff --git a/common/Test.js b/common/Test.js index 7acbfa0..88baff2 100644 --- a/common/Test.js +++ b/common/Test.js @@ -19,9 +19,9 @@ * along with GNU LibreJS. If not, see . */ -"use strict"; +'use strict'; var Test = (() => { - const RUNNER_URL = browser.extension.getURL("/test/SpecRunner.html"); + const RUNNER_URL = browser.extension.getURL('/test/SpecRunner.html'); return { /* returns RUNNER_URL if it's a test-enabled build or an about:debugging @@ -50,6 +50,6 @@ var Test = (() => { } }; })(); -if (typeof module === "object") { +if (typeof module === 'object') { module.exports = Test; } -- cgit v1.2.3