From 510c45b9b73cb4338907e0cba16c0bf3704a524b Mon Sep 17 00:00:00 2001 From: Amir Omidi Date: Wed, 18 Sep 2019 14:35:46 -0700 Subject: [PATCH] use isNaN instead of == NaN (#7276) --- tslint-sql.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tslint-sql.json b/tslint-sql.json index 384112157c..d5c2296fb1 100644 --- a/tslint-sql.json +++ b/tslint-sql.json @@ -13,19 +13,22 @@ "argIndex": 1 } ], - "no-floating-promises":{ + "no-floating-promises": { "severity": "warn" }, "await-promise": { "severity": "warn", - "options": ["Thenable"] + "options": [ + "Thenable" + ] }, - "no-promise-as-boolean": { - "severity": "error", - "options": ["Thenable"] + "use-isnan": { + "severity": "error" } }, "linterOptions": { - "exclude": ["src/vs/**/*.ts"] + "exclude": [ + "src/vs/**/*.ts" + ] } }