From 0dba62b603692de63687304e871f95f4243af5f3 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 21 Sep 2015 17:19:19 -0500 Subject: [PATCH] Bug 1196155 - Update renamed ESLint rules. r=pbrosset --HG-- extra : commitid : 2plCfjE207b extra : rebase_source : 68fa4ece8a529816034aee6cc6a3db11fe666558 --- devtools/.eslintrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devtools/.eslintrc b/devtools/.eslintrc index 41cec24f8e64..d45bc97deabd 100644 --- a/devtools/.eslintrc +++ b/devtools/.eslintrc @@ -146,7 +146,7 @@ // which is a valid use case. "no-empty": 2, // Disallow the use of empty character classes in regular expressions. - "no-empty-class": 2, + "no-empty-character-class": 2, // Disallow use of labels for anything other then loops and switches. "no-empty-label": 2, // Disallow use of eval(). We have other APIs to evaluate code in content. @@ -320,7 +320,7 @@ // Deprecated, will be removed in 1.0. "space-unary-word-ops": 0, // Require a space immediately following the // in a line comment. - "spaced-line-comment": [1, "always"], + "spaced-comment": [1, "always"], // Require "use strict" to be defined globally in the script. "strict": [2, "global"], // Disallow comparisons with the value NaN.