Skip to content

Commit 6f8f83f

Browse files
committed
style-guide: Avoid normative recommendations for formatting tool configurability
It's not within the scope of the style guide to tell formatting tools whether, or how, to allow configurability of non-default formatting.
1 parent 20f2828 commit 6f8f83f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/doc/style-guide/src/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ formatting, typically by using a formatting tool's default settings.
2828
* Each level of indentation must be four spaces (that is, all indentation
2929
outside of string literals and comments must be a multiple of four).
3030
* The maximum width for a line is 100 characters.
31-
* A tool should be configurable for all three of these variables.
31+
* A tool may choose to make some of these configurable.
3232

3333
#### Block indent
3434

@@ -87,11 +87,7 @@ fn bar() {}
8787
fn baz() {}
8888
```
8989

90-
Formatting tools should make the bounds on blank lines configurable: there
91-
should be separate minimum and maximum numbers of newlines between both
92-
statements and (top-level) items (i.e., four options). As described above, the
93-
defaults for both statements and items should be minimum: 1, maximum: 2.
94-
90+
Formatting tools may wish to make the bounds on blank lines configurable.
9591

9692
### [Module-level items](items.md)
9793
### [Statements](statements.md)

0 commit comments

Comments
 (0)