feat(eslint): Rule "space-before-blocks"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 16:38:31 +04:00
parent 7bc55712a4
commit 799b6c9f21
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 5 additions and 1 deletions

View File

@ -260,7 +260,7 @@
- [X] "sort-imports"
- [X] "sort-keys"
- [X] "sort-vars"
- [ ] "space-before-blocks"
- [X] "space-before-blocks"
- [X] "space-before-function-paren"
- [ ] "space-in-parens"
- [ ] "space-infix-ops"

View File

@ -212,6 +212,10 @@
"ignoreCase": false
}
],
"space-before-blocks": [
"error",
"always"
],
"space-before-function-paren": [
"error",
{