Skip to content

Lint suggestion: deny Update or FixedUpdate #99

@alice-i-cecile

Description

@alice-i-cecile

As discussed in bevyengine/bevy#14215 and bevyengine/bevy#14911, some games will prefer to run their logic in Update, while others prefer to run it in FixedUpdate.

We should have a pair of style lints that let you pick which one you're using. Note that UI code generally belongs in Update, so for UI modules projects should have localized allow / denies to swap this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LinterRelated to the linter and custom lintsC-FeatureMake something new possibleX-BlessedHas a large architectural impact or tradeoffs, but the design has been endorsed by decision makers

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions