From 666535be47e24f7ae03c24afe57120c6b50a62fc Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 26 Oct 2020 13:16:01 +0100 Subject: [PATCH] Prevent use of optional chaining and nullish coalescing in the `src/shared/` folder Given that this code is used on the worker-thread, where SystemJS is still used during development, we need to (for now) handle this folder the same way as the `src/core/` one. --- src/shared/.eslintrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/shared/.eslintrc diff --git a/src/shared/.eslintrc b/src/shared/.eslintrc new file mode 100644 index 000000000..cec998b9c --- /dev/null +++ b/src/shared/.eslintrc @@ -0,0 +1,13 @@ +{ + "parserOptions": { + "ecmaVersion": 2017, + }, + + "extends": [ + "../.eslintrc" + ], + + "env": { + "es2017": true, + }, +}