Leafwing-Studios / template-repo

A quick, CI-enabled Bevy template repository.
Apache License 2.0
43 stars 9 forks source link

[Question] Rationale Behind `Clippy.toml` and `type-complexity-threshold = 5000` #33

Closed zicklag closed 2 years ago

zicklag commented 2 years ago

Hey there, this is just a question, I was fixing Bevy clippy lints for a project and I was curious about the decision to use the Clippy.toml and type-complexity-threshold = 5000 instead of just allowing clippy::type_complexity. Is there an advantage to setting it so high and not just allowing it?

This is low priority question so get to this whenever you can. :)

alice-i-cecile commented 2 years ago

IIRC this worked better in CI, because it would be read there? I don't remember now!