Skip to content

Most used configuration options #15821

@blyxyas

Description

@blyxyas

Note that lots of these were used by the same 7-8 repositories, because there are a handful of repos that like to declare every configuration option even when they're set to the default (like wgsl-analyzer)

Even worse, there are configuration option that the only repo using them is the rust-clippy one or that no one is using an option that isn't the default. We should think if we want to remove them or think about improving discoverability of our configuration options)

Configuration option Number of Github search results (excl. forks)
absolute-paths-allowed-crates 47
absolute-paths-max-segments 32
accept-comment-above-attributes 19
accept-comment-above-statement 19
allow-comparison-to-zero 10
allow-dbg-in-tests 215
allow-exact-repetitions 4
allow-expect-in-consts 8
allow-expect-in-tests 380
allow-indexing-slicing-in-tests 32
allow-mixed-uninlined-format-args 51
allow-one-hash-in-raw-strings 7
allow-panic-in-tests 142
allow-print-in-tests 151
allow-private-module-inception 35
allow-unwrap-in-consts 8
allow-unwrap-in-tests 540
allow-useless-vec-in-tests 8
allowed-dotfiles 8
allowed-duplicate-crates 101
allowed-prefixes 16
allowed-scripts 30
allowed-wildcard-imports 41
arithmetic-side-effects-allowed 41
arithmetic-side-effects-allowed-binary 11
arithmetic-side-effects-allowed-unary 11
array-size-threshold 72
avoid-breaking-exported-api 422
await-holding-invalid-types 46
blacklisted-names 68
cargo-ignore-publish 12
check-incompatible-msrv-in-tests 7
check-inconsistent-struct-field-initializers 11
check-private-items 132
cognitive-complexity-threshold 528
const-literal-digits-threshold 1
cyclomatic-complexity-threshold 54
disallowed-macros 252
disallowed-methods 780
disallowed-names 192
disallowed-types 548
doc-valid-idents 628
enable-raw-pointer-heuristic-for-send 9
enforce-iter-loop-reborrow 15
enforced-import-renames 40
enum-variant-name-threshold 114
enum-variant-size-threshold 190
excessive-nesting-threshold 157
future-size-threshold 63
ignore-interior-mutability 111
large-error-threshold 122
lint-commented-code 13
lint-inconsistent-struct-field-initializers 5
literal-representation-threshold 57
matches-for-let-else 14
max-fn-params-bools 168
max-include-file-size 115
max-struct-bools 65
max-suggested-slice-pattern-length 31
max-trait-bounds 53
min-ident-chars-threshold 19
missing-docs-allow-unused 7
missing-docs-in-crate-items 120
module-item-order-groupings 11
msrv 876
pass-by-value-size-limit 77
pub-underscore-fields-behavior 7
semicolon-inside-block-ignore-singleline 21
semicolon-outside-block-ignore-multiline 31
single-char-binding-names-threshold 176
source-item-ordering 24
stack-size-threshold 98
standard-macro-braces 63
struct-field-name-threshold 15
suppress-restriction-lint-in-const 25
too-large-for-stack 69
too-many-arguments-threshold 628
too-many-lines-threshold 366
trait-assoc-item-kinds-order 10
trivial-copy-size-limit 194
type-complexity-threshold 600
unnecessary-box-size 12
unreadable-literal-lint-fractions 20
upper-case-acronyms-aggressive 84
vec-box-size-threshold 72
verbose-bit-mask-threshold 41
warn-on-all-wildcard-imports 142
warn-unsafe-macro-metavars-in-private-macros 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-uiArea: Clippy interface, usage and configuration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions