aboutsummaryrefslogtreecommitdiff
path: root/tslint.json
diff options
context:
space:
mode:
authorTom Harley2018-02-20 16:24:06 +0000
committerTom Harley2018-02-20 16:24:06 +0000
commit8371000fee5286dd4c7aad3a29700660a209e498 (patch)
tree71c538fe8ed5ea0fd406d17bde49440cad6cce6f /tslint.json
parentadded gitlab-ci job for linter (diff)
downloadmedicine-8371000fee5286dd4c7aad3a29700660a209e498.tar.gz
medicine-8371000fee5286dd4c7aad3a29700660a209e498.zip

Add Bluebird promise and dev-dependency support

Diffstat (limited to 'tslint.json')
-rw-r--r--tslint.json12
1 files changed, 9 insertions, 3 deletions
diff --git a/tslint.json b/tslint.json
index f86eb35..ba1334e 100644
--- a/tslint.json
+++ b/tslint.json
@@ -69,7 +69,10 @@
],
"unified-signatures": true,
- "await-promise": true,
+ "await-promise": [
+ true,
+ "Bluebird"
+ ],
"ban-comma-operator": true,
"ban": [ false ],
"curly": true,
@@ -88,9 +91,12 @@
"no-dynamic-delete": true,
"no-empty": true,
"no-eval": true,
- "no-floating-promises": true,
+ "no-floating-promises": [
+ true,
+ "Bluebird"
+ ],
"no-for-in-array": false,
- "no-implicit-dependencies": true,
+ "no-implicit-dependencies": [ true, "dev" ],
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,