use isNaN instead of == NaN (#7276)

This commit is contained in:
Amir Omidi
2019-09-18 14:35:46 -07:00
committed by GitHub
parent aad9c0f965
commit 510c45b9b7

View File

@@ -13,19 +13,22 @@
"argIndex": 1 "argIndex": 1
} }
], ],
"no-floating-promises":{ "no-floating-promises": {
"severity": "warn" "severity": "warn"
}, },
"await-promise": { "await-promise": {
"severity": "warn", "severity": "warn",
"options": ["Thenable"] "options": [
"Thenable"
]
}, },
"no-promise-as-boolean": { "use-isnan": {
"severity": "error", "severity": "error"
"options": ["Thenable"]
} }
}, },
"linterOptions": { "linterOptions": {
"exclude": ["src/vs/**/*.ts"] "exclude": [
"src/vs/**/*.ts"
]
} }
} }