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:
Tom Tromey 2017-01-05 10:32:47 -07:00
Родитель a2f0f971ab
Коммит 4e225590bc
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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