Bug 1314829: Remove no-unused-expressions from the recommended configuration. r=jaws DONTBUILD
authorDave Townsend <dtownsend@oxymoronical.com>
Thu, 03 Nov 2016 08:59:50 -0700
changeset 320898 43aec132d58edefddef66af448c5173f313653fe
parent 320897 8a36d67577d84f9d1833fa35c7c13e8aed02b209
child 320899 f19157ac2e4800139a5b82896a7fa0b0846469d6
push id30905
push userphilringnalda@gmail.com
push dateFri, 04 Nov 2016 02:33:06 +0000
treeherdermozilla-central@4f09d9469e73 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1314829
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1314829: Remove no-unused-expressions from the recommended configuration. r=jaws DONTBUILD 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,