From 6e7c0b9c3dc4bc1abe10ac95f350c4194b1c9e2f Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 12 Sep 2020 20:18:38 -0700 Subject: [PATCH] Add tsconfig and tslint --- tsconfig.json | 21 +++++++++++++++++++++ tslint.json | 14 ++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 tsconfig.json create mode 100644 tslint.json diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..664733f --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "module": "commonjs", + "esModuleInterop": true, + "target": "es6", + "noImplicitAny": true, + "moduleResolution": "node", + "sourceMap": true, + "outDir": "dist", + "resolveJsonModule": true, + "baseUrl": ".", + "paths": { + "*": [ + "node_modules/*" + ] + } + }, + "include": [ + "src/**/*", "data" + ] +} \ No newline at end of file diff --git a/tslint.json b/tslint.json new file mode 100644 index 0000000..02aa907 --- /dev/null +++ b/tslint.json @@ -0,0 +1,14 @@ +{ + "defaultSeverity": "error", + "extends": [ + "tslint:recommended" + ], + "jsRules": { + "no-console": false + }, + "rules": { + "no-console": false, + "trailing-comma": [false] + }, + "rulesDirectory": [] +} \ No newline at end of file