Преглед изворни кода

chore(eslint): Add use-isnan rule

dev1
hristoterezov пре 8 година
родитељ
комит
5de272b995
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2
    0
      .eslintrc.js

+ 2
- 0
.eslintrc.js Прегледај датотеку

36
         'no-console': 0,
36
         'no-console': 0,
37
         'semi': [ 'error', 'always' ],
37
         'semi': [ 'error', 'always' ],
38
 
38
 
39
+        // Possible Errors group
39
         'no-cond-assign': 2,
40
         'no-cond-assign': 2,
40
         'no-constant-condition': 2,
41
         'no-constant-condition': 2,
41
         'no-control-regex': 2,
42
         'no-control-regex': 2,
64
         'no-unexpected-multiline': 2,
65
         'no-unexpected-multiline': 2,
65
         'no-unreachable': 2,
66
         'no-unreachable': 2,
66
         'no-unsafe-finally': 2,
67
         'no-unsafe-finally': 2,
68
+        'use-isnan': 2,
67
 
69
 
68
         'prefer-spread': 2,
70
         'prefer-spread': 2,
69
         'require-yield': 2,
71
         'require-yield': 2,

Loading…
Откажи
Сачувај