From 759d015e4bd2d5574fe863d9f655d2729f3a705e Mon Sep 17 00:00:00 2001 From: jfrer Date: Fri, 19 Jul 2024 16:24:15 +0200 Subject: [PATCH] refactor: change config to resolve undefined var errors --- .eslintrc.cjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index e372d9c..64ca3f1 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -18,5 +18,8 @@ module.exports = { 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'semi': ['error', 'never'], 'object-curly-spacing': ['error', 'always'] + }, + "env": { + "node": true } }