@@ -13,8 +13,6 @@ and lints affected.
13
13
## ` absolute-paths-allowed-crates `
14
14
Which crates to allow absolute paths from
15
15
16
- ** Default Value:** ` [] `
17
-
18
16
---
19
17
** Affected lints:**
20
18
* [ ` absolute_paths ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#absolute_paths )
@@ -177,8 +175,6 @@ Whether `useless_vec` should ignore test functions or `#[cfg(test)]`
177
175
## ` allowed-dotfiles `
178
176
Additional dotfiles (files or directories starting with a dot) to allow
179
177
180
- ** Default Value:** ` [] `
181
-
182
178
---
183
179
** Affected lints:**
184
180
* [ ` path_ends_with_ext ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#path_ends_with_ext )
@@ -187,8 +183,6 @@ Additional dotfiles (files or directories starting with a dot) to allow
187
183
## ` allowed-duplicate-crates `
188
184
A list of crate names to allow duplicates of
189
185
190
- ** Default Value:** ` [] `
191
-
192
186
---
193
187
** Affected lints:**
194
188
* [ ` multiple_crate_versions ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions )
@@ -199,7 +193,7 @@ Allowed names below the minimum allowed characters. The value `".."` can be used
199
193
the list to indicate, that the configured values should be appended to the default
200
194
configuration of Clippy. By default, any configuration will replace the default value.
201
195
202
- ** Default Value:** ` ["j ", "z ", "i ", "y", "n ", "x ", "w "] `
196
+ ** Default Value:** ` ["i ", "j ", "x ", "y", "z ", "w ", "n "] `
203
197
204
198
---
205
199
** Affected lints:**
@@ -257,8 +251,6 @@ allowed-wildcard-imports = [ "utils", "common" ]
257
251
2 . Paths with any segment that containing the word 'prelude'
258
252
are already allowed by default.
259
253
260
- ** Default Value:** ` [] `
261
-
262
254
---
263
255
** Affected lints:**
264
256
* [ ` wildcard_imports ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports )
@@ -280,8 +272,6 @@ arithmetic-side-effects-allowed = ["SomeType", "AnotherType"]
280
272
A type, say ` SomeType ` , listed in this configuration has the same behavior of
281
273
` ["SomeType" , "*"], ["*", "SomeType"] ` in ` arithmetic_side_effects_allowed_binary ` .
282
274
283
- ** Default Value:** ` [] `
284
-
285
275
---
286
276
** Affected lints:**
287
277
* [ ` arithmetic_side_effects ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#arithmetic_side_effects )
@@ -303,8 +293,6 @@ Pairs are asymmetric, which means that `["SomeType", "AnotherType"]` is not the
303
293
arithmetic-side-effects-allowed-binary = [[" SomeType" , " f32" ], [" AnotherType" , " *" ]]
304
294
```
305
295
306
- ** Default Value:** ` [] `
307
-
308
296
---
309
297
** Affected lints:**
310
298
* [ ` arithmetic_side_effects ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#arithmetic_side_effects )
@@ -319,8 +307,6 @@ Suppress checking of the passed type names in unary operations like "negation" (
319
307
arithmetic-side-effects-allowed-unary = [" SomeType" , " AnotherType" ]
320
308
```
321
309
322
- ** Default Value:** ` [] `
323
-
324
310
---
325
311
** Affected lints:**
326
312
* [ ` arithmetic_side_effects ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#arithmetic_side_effects )
@@ -366,8 +352,6 @@ Suppress lints whenever the suggested change would cause breakage for other crat
366
352
## ` await-holding-invalid-types `
367
353
368
354
369
- ** Default Value:** ` [] `
370
-
371
355
---
372
356
** Affected lints:**
373
357
* [ ` await_holding_invalid_type ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_invalid_type )
@@ -409,8 +393,6 @@ The maximum cognitive complexity a function can have
409
393
## ` disallowed-macros `
410
394
The list of disallowed macros, written as fully qualified paths.
411
395
412
- ** Default Value:** ` [] `
413
-
414
396
---
415
397
** Affected lints:**
416
398
* [ ` disallowed_macros ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_macros )
@@ -419,8 +401,6 @@ The list of disallowed macros, written as fully qualified paths.
419
401
## ` disallowed-methods `
420
402
The list of disallowed methods, written as fully qualified paths.
421
403
422
- ** Default Value:** ` [] `
423
-
424
404
---
425
405
** Affected lints:**
426
406
* [ ` disallowed_methods ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_methods )
@@ -441,8 +421,6 @@ default configuration of Clippy. By default, any configuration will replace the
441
421
## ` disallowed-types `
442
422
The list of disallowed types, written as fully qualified paths.
443
423
444
- ** Default Value:** ` [] `
445
-
446
424
---
447
425
** Affected lints:**
448
426
* [ ` disallowed_types ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_types )
@@ -455,7 +433,7 @@ default configuration of Clippy. By default, any configuration will replace the
455
433
* ` doc-valid-idents = ["ClipPy"] ` would replace the default list with ` ["ClipPy"] ` .
456
434
* ` doc-valid-idents = ["ClipPy", ".."] ` would append ` ClipPy ` to the default list.
457
435
458
- ** Default Value:** ` ["TiB ", "CoreGraphics ", "CoffeeScript ", "TeX ", "Direct2D ", "PiB ", "DirectX ", "NetBSD ", "OAuth ", "NaN ", "OpenType ", "WebGL2 ", "WebTransport ", "JavaScript ", "OpenSSL ", "OpenSSH ", "EiB ", "PureScript ", "OpenAL ", "MiB ", "WebAssembly ", "MinGW ", "CoreFoundation ", "WebGPU ", "ClojureScript ", "CamelCase ", "OpenDNS ", "NaNs ", "OpenMP ", "GitLab ", "KiB ", "sRGB ", "CoreText ", "macOS ", "TypeScript ", "GiB ", "OpenExr ", "YCbCr ", "OpenTelemetry ", "OpenBSD ", "FreeBSD ", "GPLv2 ", "PostScript ", "WebP ", "LaTeX ", "TensorFlow ", "AccessKit ", "TrueType ", "OpenStreetMap ", "OpenGL ", "DevOps ", "OCaml ", "WebRTC ", "WebGL ", "BibLaTeX ", "GitHub ", "GraphQL ", "iOS ", "Direct3D ", "BibTeX ", "DirectWrite ", "GPLv3 ", "IPv6 ", "WebSocket ", "IPv4 ", "ECMAScript "] `
436
+ ** Default Value:** ` ["KiB ", "MiB ", "GiB ", "TiB ", "PiB ", "EiB ", "AccessKit ", "CoreFoundation ", "CoreGraphics ", "CoreText ", "DevOps ", "Direct2D ", "Direct3D ", "DirectWrite ", "DirectX ", "ECMAScript ", "GPLv2 ", "GPLv3 ", "GitHub ", "GitLab ", "IPv4 ", "IPv6 ", "ClojureScript ", "CoffeeScript ", "JavaScript ", "PostScript ", "PureScript ", "TypeScript ", "WebAssembly ", "NaN ", "NaNs ", "OAuth ", "GraphQL ", "OCaml ", "OpenAL ", "OpenDNS ", "OpenGL ", "OpenMP ", "OpenSSH ", "OpenSSL ", "OpenStreetMap ", "OpenTelemetry ", "OpenType ", "WebGL ", "WebGL2 ", "WebGPU ", "WebRTC ", "WebSocket ", "WebTransport ", "WebP ", "OpenExr ", "YCbCr ", "sRGB ", "TensorFlow ", "TrueType ", "iOS ", "macOS ", "FreeBSD ", "NetBSD ", "OpenBSD ", "TeX ", "LaTeX ", "BibTeX ", "BibLaTeX ", "MinGW ", "CamelCase "] `
459
437
460
438
---
461
439
** Affected lints:**
@@ -501,8 +479,6 @@ for _ in &mut *rmvec {}
501
479
## ` enforced-import-renames `
502
480
The list of imports to always rename, a fully qualified path followed by the rename.
503
481
504
- ** Default Value:** ` [] `
505
-
506
482
---
507
483
** Affected lints:**
508
484
* [ ` missing_enforced_import_renames ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#missing_enforced_import_renames )
@@ -795,8 +771,6 @@ A `MacroMatcher` can be added like so `{ name = "macro_name", brace = "(" }`. If
795
771
could be used with a full path two ` MacroMatcher ` s have to be added one with the full path
796
772
` crate_name::macro_name ` and one with just the macro name.
797
773
798
- ** Default Value:** ` [] `
799
-
800
774
---
801
775
** Affected lints:**
802
776
* [ ` nonstandard_macro_braces ` ] ( https://rust-lang.github.io/rust-clippy/master/index.html#nonstandard_macro_braces )
0 commit comments