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
}
],
"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"
]
}
}