Skip to content

Commit

Permalink
Docs: Remove unneeded statement about autofix (#8164)
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto authored and gyandeeps committed Feb 27, 2017
1 parent 20daea5 commit 4d542ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/rules/nonblock-statement-body-position.md
@@ -1,7 +1,5 @@
# enforce the location of single-line statements (nonblock-statement-body-position)

(fixable) The `--fix` option on the [command line](../user-guide/command-line-interface#fix) automatically fixes problems reported by this rule.

When writing `if`, `else`, `while`, `do-while`, and `for` statements, the body can be a single statement instead of a block. It can be useful to enforce a consistent location for these single statements.

For example, some developers avoid writing code like this:
Expand Down

0 comments on commit 4d542ba

Please sign in to comment.