зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1330093 - Remove redundant rules from toolkit/.eslintrc.js. r=jaws
MozReview-Commit-ID: AKG6PYaoBmy --HG-- extra : rebase_source : f5260e8de0b4ac65b41942c1f9314b2313cf2636
This commit is contained in:
Родитель
6d14303fe1
Коммит
f1550f1a6a
|
@ -105,9 +105,6 @@ module.exports = {
|
|||
// No using !! where casting to boolean is already happening
|
||||
"no-extra-boolean-cast": "error",
|
||||
|
||||
// Disallow unnecessary labels
|
||||
"no-extra-label": "error",
|
||||
|
||||
// No double semicolon
|
||||
"no-extra-semi": "error",
|
||||
|
||||
|
@ -183,12 +180,6 @@ module.exports = {
|
|||
// Disallow control flow statements in finally blocks
|
||||
"no-unsafe-finally": "error",
|
||||
|
||||
// Disallow negating the left operand of relational operators
|
||||
"no-unsafe-negation": "error",
|
||||
|
||||
// Disallow unused labels
|
||||
"no-unused-labels": "error",
|
||||
|
||||
// No declaring variables that are never used
|
||||
"no-unused-vars": ["error", {
|
||||
"vars": "local",
|
||||
|
|
Загрузка…
Ссылка в новой задаче