Bug 1330791 - Enable the no-cond-assign rule for eslint in /services. There are no associated errors with enabling this rule. r=markh
authorJared Wein <jwein@mozilla.com>
Thu, 12 Jan 2017 18:27:00 -0500
changeset 464595 24d934bf2cb560db0c4c23533c7cfd99978368c9
parent 464594 f0d2fdb10650db1f64a6b1becbc5be11ec690b37
child 464596 ec582d2701280097f50b8474ba6a1f01faa3f50a
push id42370
push usermwein@mozilla.com
push dateSat, 21 Jan 2017 03:10:58 +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",
   }
 };