added rule use-isnan and and updated file to follow new rule (#13117)

This commit is contained in:
Patrick O'Carroll
2018-09-03 13:31:37 +02:00
committed by Torkel Ödegaard
parent ebf253d26a
commit f8c2b23c86
2 changed files with 10 additions and 2 deletions

View File

@@ -185,7 +185,7 @@ export class TableRenderer {
}
const numericValue = Number(value);
if (numericValue === NaN) {
if (isNaN(numericValue)) {
return;
}