Skip to content

Commit

Permalink
Docs: Remove wrong descriptions in padded-block rule (#8783)
Browse files Browse the repository at this point in the history
* Docs: Remove wrong descriptions in `padded-block` rule

Rule `padded-blocks` now enforces padding in class bodies and switch statements.

#8134

* Docs: Correct description of string options

Class bodies are not actually block statements.
  • Loading branch information
preco21 authored and ilyavolodin committed Jun 23, 2017
1 parent 291a783 commit e8f1362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/padded-blocks.md
Expand Up @@ -24,8 +24,8 @@ This rule has one option, which can be a string option or an object option.

String option:

* `"always"` (default) requires empty lines at the beginning and ending of block statements (except `switch` statements and classes)
* `"never"` disallows empty lines at the beginning and ending of block statements (except `switch` statements and classes)
* `"always"` (default) requires empty lines at the beginning and ending of block statements and classes
* `"never"` disallows empty lines at the beginning and ending of block statements and classes

Object option:

Expand Down

0 comments on commit e8f1362

Please sign in to comment.