From d6e6e97236610c7a5bd625a43081818d36b04670 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Sun, 19 May 2024 13:34:11 +0200 Subject: [PATCH] .eslintrc.json: boolean values are deprecated for globals As per ESLint docs these options still allow boolean values but in reality they are deprecated and replaced by "readonly". Oxlint currently cannot deal with this and therefore cannot parse the eslint configuration file. https://eslint.org/docs/latest/use/configure/language-options#using-configuration-files --- .eslintrc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3591615..10914e5 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -43,7 +43,7 @@ "standard/no-callback-literal": "off" }, "globals": { - "require": false, - "module": false + "require": "readonly", + "module": "readonly" } }