зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1196155 - Update renamed ESLint rules. r=pbrosset
--HG-- extra : commitid : 2plCfjE207b extra : rebase_source : 68fa4ece8a529816034aee6cc6a3db11fe666558
This commit is contained in:
Родитель
6cbea0bcc7
Коммит
0dba62b603
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче