зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1328929 - enable no-unsafe-finally eslint rule for devtools; r=jryans
MozReview-Commit-ID: J8v5YELIyid --HG-- extra : rebase_source : 19c5813d844365a4b0fe96b9e93451995c802398
This commit is contained in:
Родитель
a2f0f971ab
Коммит
4e225590bc
|
@ -328,6 +328,8 @@ module.exports = {
|
|||
// Disallow global and local variables that aren't used, but allow unused
|
||||
// function arguments.
|
||||
"no-unused-vars": ["error", {"vars": "all", "args": "none"}],
|
||||
// Disallow flow control that escapes from "finally".
|
||||
"no-unsafe-finally": "error",
|
||||
// Allow using variables before they are defined.
|
||||
"no-use-before-define": "off",
|
||||
// We use var-only-at-top-level instead of no-var as we allow top level
|
||||
|
|
Загрузка…
Ссылка в новой задаче