From f4acf7f8b18bdaee8dfe1cef24c549527e6f1bb6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 19 Aug 2020 11:50:26 +0200 Subject: [PATCH] update ecmascript version to 2020 so eslint permits optional chaining --- .eslintrc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 521ea791..24bbb049 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,10 +5,10 @@ module.exports = { }, "extends": "eslint:recommended", "parserOptions": { - "ecmaVersion": 2018, + "ecmaVersion": 2020, "sourceType": "module" }, "rules": { "no-console": "off" } -}; \ No newline at end of file +};