Backport Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks)
This commit is contained in:
Родитель
55f00515e5
Коммит
cb5122730f
|
@ -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`?
|
||||||
|
|
Загрузка…
Ссылка в новой задаче