From dc1b64527c0529f3c241467e7ed93b21d51b69e4 Mon Sep 17 00:00:00 2001 From: sturcotte Date: Sun, 19 Mar 2017 04:20:35 -0400 Subject: [PATCH] Initial commit --- .gitignore | 4 ++++ tsconfig.json | 13 +++++++++++++ tslint.json | 19 +++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 .gitignore create mode 100644 tsconfig.json create mode 100644 tslint.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bf5b00d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.vscode +node_modules +**/*.js +**/*.js.map \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..336c91c --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "target": "es6", + "module": "commonjs", + "sourceMap": true, + "watch": false, + "noUnusedParameters": true, + "noUnusedLocals": true + }, + "include": [ + "**/*.ts" + ] +} \ No newline at end of file diff --git a/tslint.json b/tslint.json new file mode 100644 index 0000000..f5c3332 --- /dev/null +++ b/tslint.json @@ -0,0 +1,19 @@ +{ + "rules": { + "no-unused-expression": true, + "no-duplicate-variable": true, + "curly": true, + "class-name": true, + "semicolon": [true, "always"], + "triple-equals": true, + "trailing-comma": [true, {"multiline": "never", "singleline": "never"}], + "only-arrow-functions": [true, "allow-declarations"], + "no-eval": true, + "no-invalid-this": true, + "switch-default": true, + "prefer-const": true, + "arrow-return-shorthand": [true], + "jsdoc-format": true, + "no-consecutive-blank-lines": [true] + } +} \ No newline at end of file