Skip to content

Commit 8c8cf40

Browse files
committed
Update lint_configuration.md
1 parent e3ee10d commit 8c8cf40

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

book/src/lint_configuration.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Please use that command to update the file and do not edit it by hand.
1313
| [msrv](#msrv) | `None` |
1414
| [cognitive-complexity-threshold](#cognitive-complexity-threshold) | `25` |
1515
| [disallowed-names](#disallowed-names) | `["foo", "baz", "quux"]` |
16+
| [semicolon-inside-block-ignore-singleline](#semicolon-inside-block-ignore-singleline) | `false` |
17+
| [semicolon-outside-block-ignore-multiline](#semicolon-outside-block-ignore-multiline) | `false` |
1618
| [doc-valid-idents](#doc-valid-idents) | `["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "DirectX", "ECMAScript", "GPLv2", "GPLv3", "GitHub", "GitLab", "IPv4", "IPv6", "ClojureScript", "CoffeeScript", "JavaScript", "PureScript", "TypeScript", "NaN", "NaNs", "OAuth", "GraphQL", "OCaml", "OpenGL", "OpenMP", "OpenSSH", "OpenSSL", "OpenStreetMap", "OpenDNS", "WebGL", "TensorFlow", "TrueType", "iOS", "macOS", "FreeBSD", "TeX", "LaTeX", "BibTeX", "BibLaTeX", "MinGW", "CamelCase"]` |
1719
| [too-many-arguments-threshold](#too-many-arguments-threshold) | `7` |
1820
| [type-complexity-threshold](#type-complexity-threshold) | `250` |
@@ -202,6 +204,22 @@ default configuration of Clippy. By default, any configuration will replace the
202204
* [disallowed_names](https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names)
203205

204206

207+
### semicolon-inside-block-ignore-singleline
208+
Whether to lint only if it's multiline.
209+
210+
**Default Value:** `false` (`bool`)
211+
212+
* [semicolon_inside_block](https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_inside_block)
213+
214+
215+
### semicolon-outside-block-ignore-multiline
216+
Whether to lint only if it's singleline.
217+
218+
**Default Value:** `false` (`bool`)
219+
220+
* [semicolon_outside_block](https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_outside_block)
221+
222+
205223
### doc-valid-idents
206224
The list of words this lint should not consider as identifiers needing ticks. The value
207225
`".."` can be used as part of the list to indicate, that the configured values should be appended to the

0 commit comments

Comments
 (0)