Bug 1330791 - Enable the no-cond-assign rule for eslint in /services. There are no associated errors with enabling this rule. r?markh draft
authorJared Wein <jwein@mozilla.com>
Thu, 12 Jan 2017 18:27:00 -0500
changeset 460321 9692d2e14b726cf90ab42a28cb71fbd6678b8691
parent 460320 c86804a435f562450b95faee606376ef370b131b
child 460322 632cf8daa373a782519021bfee93dde1e733a1e7
push id41370
push userbmo:jaws@mozilla.com
push dateThu, 12 Jan 2017 23:30:59 +0000
reviewersmarkh
bugs1330791
milestone53.0a1
Bug 1330791 - Enable the no-cond-assign rule for eslint in /services. There are no associated errors with enabling this rule. r?markh MozReview-Commit-ID: BM83kDZJpZ3
services/.eslintrc.js
--- a/services/.eslintrc.js
+++ b/services/.eslintrc.js
@@ -4,15 +4,14 @@ module.exports = {
   "extends": [
     "../toolkit/.eslintrc.js"
   ],
   rules: {
     /* These rules are only set to warn temporarily
        until they get fixed, at which point their
        respective line in this file should be removed. */
     "consistent-return": "warn",
-    "no-cond-assign": "warn",
     "no-ex-assign": "warn",
     "no-func-assign": "warn",
     "no-native-reassign": "warn",
     "no-nested-ternary": "warn",
   }
 };