From 7f16533d4f08c3ebc7c87a0b4ad785f0e277e3ad Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Wed, 9 Jun 2021 12:20:08 +0100 Subject: [PATCH] Added jsconfig.json to enable type checking - we're experimenting with using a simple jsconfig file to enable type checking for Ghost + related repos - this should allow us all to see where we have typing issues, without requiring everything to be strictly typed or generating type files --- jsconfig.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 jsconfig.json diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000000..751144e418 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,13 @@ +{ + "include": ["core/**/*.js"], + "compilerOptions": { + "checkJs": true, + "module": "commonjs", + "target": "es2018", + "moduleResolution": "node" + }, + "exclude": [ + "core/built", + "core/client" + ] +}