aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-12 06:41:31 +0800
committerkumavis <aaron@kumavis.me>2017-01-12 06:41:31 +0800
commit79040c2e681012c98869b7e4d49a9e0ed406c52f (patch)
tree800dfec2a13e341d8a50e3329d4fd3a748f2a28b /.eslintrc
parent89a5eff270ee98bc7f6065a17b564fa09e3f396f (diff)
downloadtangerine-wallet-browser-79040c2e681012c98869b7e4d49a9e0ed406c52f.tar
tangerine-wallet-browser-79040c2e681012c98869b7e4d49a9e0ed406c52f.tar.gz
tangerine-wallet-browser-79040c2e681012c98869b7e4d49a9e0ed406c52f.tar.bz2
tangerine-wallet-browser-79040c2e681012c98869b7e4d49a9e0ed406c52f.tar.lz
tangerine-wallet-browser-79040c2e681012c98869b7e4d49a9e0ed406c52f.tar.xz
tangerine-wallet-browser-79040c2e681012c98869b7e4d49a9e0ed406c52f.tar.zst
tangerine-wallet-browser-79040c2e681012c98869b7e4d49a9e0ed406c52f.zip
lint - warn on unhandled err
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.eslintrc b/.eslintrc
index 72b3d3e6d..ffa4cd574 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -44,7 +44,7 @@
"eol-last": 1,
"eqeqeq": [2, "allow-null"],
"generator-star-spacing": [2, { "before": true, "after": true }],
- "handle-callback-err": [2, "^(err|error)$" ],
+ "handle-callback-err": [1, "^(err|error)$" ],
"indent": [2, 2, { "SwitchCase": 1 }],
"jsx-quotes": [2, "prefer-single"],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
@@ -145,6 +145,6 @@
"wrap-iife": [2, "any"],
"yield-star-spacing": [2, "both"],
"yoda": [2, "never"],
- "prefer-const": 1
+ "prefer-const": 1,
}
}