Module lints

Source
Expand description

All lints offered by bevy_lint, organized by lint group.

Each module contains the lints for that lint group. suspicious, for example, contains the documentation for suspicious::insert_event_resource and suspicious::iter_current_update_events, since they are both within the bevy::suspicious lint group.

Just like lints, lint groups that can be toggled together. The following lint groups are enabled by default:

The following groups are disabled by default:

Modulesยง

complexity
Lints that offer suggestions on how to simplify your code.
correctness
Lints that check for outright incorrect code.
nursery
Unstable lints that may be removed at any time for any reason.
pedantic
Lints that make the linter a nit-picky perfectionist.
performance
Lints that suggest how to improve the performance of your code.
restriction
Opt-in lints that restrict you from writing certain code patterns.
style
Lints that encourage idiomatic code.
suspicious
Lints that checks for suspicious, potentially incorrect code.