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 464218 b9005c7dccb06b86f61ebf4a66271b8bfde480b9
parent 464217 e72fa5741471b4f0d097e7d160572f28a843fdde
child 464219 63dd9535905c50cb0063b0004f97b116cea0bf7f
push id42305
push userjwein@mozilla.com
push dateFri, 20 Jan 2017 17:40:06 +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",
   }
 };