From 6d572a87335a8f0ca9b40fcbb4d042939fd55d42 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 14 Jun 2024 12:32:25 +0100 Subject: [PATCH] ESLint: Use sourceType:commonjs instead of no-implicit-globals:off Change-Id: I409d24d7253bd2108d34fc5ec69f042f588b0b07 --- tests/qunit/.eslintrc.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/qunit/.eslintrc.json b/tests/qunit/.eslintrc.json index 76c686743..d1e786e4a 100644 --- a/tests/qunit/.eslintrc.json +++ b/tests/qunit/.eslintrc.json @@ -4,8 +4,10 @@ "../../modules/.eslintrc.json", "wikimedia/qunit" ], + "parserOptions": { + "sourceType": "commonjs" + }, "rules": { - "no-implicit-globals": "off", "max-len": "off", "security/detect-non-literal-require": "off" }