From 4f617a68fcc1600f4b2e53bf63c5e1eca01417be Mon Sep 17 00:00:00 2001 From: SunDevil311 Date: Thu, 23 Jan 2025 00:04:25 -0700 Subject: [PATCH] Corrected eslint config --- eslint.config.mjs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 89b010f..d1dc7dd 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -13,18 +13,13 @@ export default [ languageOptions: { sourceType: "commonjs", }, - env: { - browser: true, - es6: true, - node: true, - mocha: true, // Add Mocha environment - }, parserOptions: { - ecmaVersion: 2020, + ecmaVersion: 2022, }, globals: { ...globals.browser, ...globals.node, + ...globals.es6, ...globals.mocha, // Add Mocha globals }, // Note: there should be no other properties in this object