Backport Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks)

This commit is contained in:
k88hudson 2019-02-05 10:27:34 -05:00
Родитель 55f00515e5
Коммит cb5122730f
1 изменённых файлов: 0 добавлений и 1 удалений

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

@ -203,7 +203,6 @@ module.exports = {
"one-var-declaration-per-line": [2, "initializations"], "one-var-declaration-per-line": [2, "initializations"],
"operator-assignment": [2, "always"], "operator-assignment": [2, "always"],
"operator-linebreak": [2, "after"], "operator-linebreak": [2, "after"],
"padded-blocks": [2, "never"],
"padding-line-between-statements": 0, "padding-line-between-statements": 0,
"prefer-arrow-callback": ["error", {"allowNamedFunctions": true}], "prefer-arrow-callback": ["error", {"allowNamedFunctions": true}],
"prefer-const": 0, // TODO: Change to `1`? "prefer-const": 0, // TODO: Change to `1`?