From 46d6014ed5a4f9a048b42d38ad95d37140d1ab68 Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Fri, 20 May 2022 11:29:09 -0400 Subject: [PATCH] Trying advice from colin@sonar --- .sonarcloud.properties | 5 +---- tsconfig.json | 7 +++++++ 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 tsconfig.json diff --git a/.sonarcloud.properties b/.sonarcloud.properties index 6687d8c..6bded21 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -12,7 +12,4 @@ sonar.exclusions=emojis sonar.sourceEncoding=UTF-8 # Exclusions for copy-paste detection -#sonar.cpd.exclusions= - -# Deno TSConfig -sonar.typescript.tsconfigPath=deno.json \ No newline at end of file +#sonar.cpd.exclusions= \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..365b6d7 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,7 @@ +{ + "compilerOptions": { + "allowJs": true, + "lib": ["es2022"], + "strict": true + } +} \ No newline at end of file