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 462297 aa174fdf2fb4129e33f8334b867ed7c5cd48299e
parent 462296 888120e04a6beadb8765c75799f7fffa7466cbe6
child 462298 79cefcfb1cff9531fdd54fa01b8d1f89e726bf99
push id41685
push userbmo:jaws@mozilla.com
push dateMon, 16 Jan 2017 21:58:09 +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",
   }
 };