Module restriction

Source
Expand description

Opt-in lints that restrict you from writing certain code patterns.

These are designed for scenarios where you want to increase the consistency of your project by rejecting certain patterns. These lints should not all be enabled as a group, but instead should be chosen individually after reading the documentation.

These lints are allow by default.

Modulesยง

missing_reflect
Checks for components, resources, and events that do not implement Reflect.
panicking_methods
Checks for use of panicking methods of World when a non-panicking alternative exists.