Browse Source

chore(eslint): Add use-isnan rule

dev1
hristoterezov 8 years ago
parent
commit
5de272b995
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      .eslintrc.js

+ 2
- 0
.eslintrc.js View File

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

Loading…
Cancel
Save