From 52598fbe55d7947e1c8bd408e98c6eb0da7b8c14 Mon Sep 17 00:00:00 2001 From: lemonslut Date: Sat, 7 Jun 2025 16:16:25 -0600 Subject: [PATCH] eslint: fix globalThis undef eslint errors added env.es2020 = true to config so globalThis is recognized --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index b5f4385f..30859e2b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,6 +2,7 @@ module.exports = { 'env': { 'browser': true, + 'es2020': true, 'es6': true }, 'extends': [ @@ -157,4 +158,4 @@ module.exports = { 'react/jsx-uses-react': 'error', 'react/jsx-wrap-multilines': 'error' } -}; \ No newline at end of file +};