bevy_lint

Module lints

Source
Expand description

All lints offered by bevy_lint.

Click on each module to learn more about individual lints. Within each module is a static that documents a lint’s name, group, and short description, such as missing_reflect::MISSING_REFLECT.

Modules§

  • Checks for function parameters that take a mutable reference to a re-borrowable type.
  • Checks for the Events<T> resource being manually inserted through App::init_resource() or App::insert_resource() instead of with App::add_event().
  • Checks for fn main() entrypoints that call App::run() but do not return AppExit.
  • Checks for components, resources, and events that do not implement Reflect.
  • Checks for use of panicking methods of Query, QueryState, or World when a non-panicking alternative exists.
  • Checks for types who implement Plugin but whose names does not end in “Plugin”.
  • Checks for queries that query for a zero-sized type.