Bug 1314829: Remove no-unused-expressions from the recommended configuration. r?jaws draft
authorDave Townsend <dtownsend@oxymoronical.com>
Thu, 03 Nov 2016 08:59:50 -0700
changeset 433352 db42159a239caaea82b4c1f27bb6b2a44321f47e
parent 432738 3bfde35a0d18a643485ffd5073f3bc6a79e0ae48
child 535868 37ed8e57250d9103955f92360d6241f0b809a70e
push id34556
push userdtownsend@mozilla.com
push dateThu, 03 Nov 2016 16:00:18 +0000
reviewersjaws
bugs1314829
milestone52.0a1
Bug 1314829: Remove no-unused-expressions from the recommended configuration. r?jaws MozReview-Commit-ID: C3jvF2aFNsx
toolkit/.eslintrc.js
--- a/toolkit/.eslintrc.js
+++ b/toolkit/.eslintrc.js
@@ -148,19 +148,16 @@ module.exports = {
     // "no-undef": 2,
 
     // Error on newline where a semicolon is needed
     "no-unexpected-multiline": 2,
 
     // No unreachable statements
     // "no-unreachable": 2,
 
-    // No expressions where a statement is expected
-    // "no-unused-expressions": 2,
-
     // No declaring variables that are never used
     // "no-unused-vars": [2, {"vars": "all", "args": "none"}],
 
     // No using variables before defined
     // "no-use-before-define": [2, "nofunc"],
 
     // No using with
     "no-with": 2,