Bug 1330791 - Enable the no-ex-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:39 -0500
changeset 464219 63dd9535905c50cb0063b0004f97b116cea0bf7f
parent 464218 b9005c7dccb06b86f61ebf4a66271b8bfde480b9
child 464220 f6287a48deccbaf1dd4507f7f97c47770fbdb468
push id42305
push userjwein@mozilla.com
push dateFri, 20 Jan 2017 17:40:06 +0000
reviewersmarkh
bugs1330791
milestone53.0a1
Bug 1330791 - Enable the no-ex-assign rule for eslint in /services. There are no associated errors with enabling this rule. r?markh MozReview-Commit-ID: 8AsaN1gyjkm
services/.eslintrc.js
--- a/services/.eslintrc.js
+++ b/services/.eslintrc.js
@@ -4,14 +4,13 @@ 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-ex-assign": "warn",
     "no-func-assign": "warn",
     "no-native-reassign": "warn",
     "no-nested-ternary": "warn",
   }
 };