From 1f3363a040531b8602fdc948216d4157aaac2816 Mon Sep 17 00:00:00 2001 From: Emil Johansson Date: Sat, 1 Feb 2020 13:54:33 +0100 Subject: [PATCH 1/2] Add jsconfig. --- jsconfig.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 jsconfig.json diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 000000000..94279b62b --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "target": "es2017", + "allowSyntheticDefaultImports": true, + "noEmit": true, + "checkJs": true, + "jsx": "react", + "lib": [ "dom", "es2017" ] + } +} From 4125e9ad8ac0de3dda3c6630e253e891135d92f2 Mon Sep 17 00:00:00 2001 From: Emil Johansson Date: Sat, 1 Feb 2020 22:00:30 +0100 Subject: [PATCH 2/2] Exclude node modules. --- jsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jsconfig.json b/jsconfig.json index 94279b62b..0d55d8388 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -6,5 +6,6 @@ "checkJs": true, "jsx": "react", "lib": [ "dom", "es2017" ] - } + }, + "exclude": ["node_modules"] }