From 2aad880b8248a505d720d5ffe0ffa074875a01cc Mon Sep 17 00:00:00 2001 From: Lumi Pakkanen Date: Tue, 5 Mar 2024 10:26:10 +0200 Subject: [PATCH] Use es6 env with eslint to make 'const' legal syntax --- lib/.eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/.eslintrc.json b/lib/.eslintrc.json index d58a1e75..cc99e444 100644 --- a/lib/.eslintrc.json +++ b/lib/.eslintrc.json @@ -1,6 +1,7 @@ { "env": { - "commonjs": true + "commonjs": true, + "es6": true }, "parserOptions": { "project": ["lib/tsconfig.json"]