Skip to content

Releases: TheBevyFlock/bevy_cli

`bevy_lint` - v0.1.0

17 Nov 16:43
663298e
Compare
Choose a tag to compare

It is with great pride that I announce the first release of bevy_lint, a custom linter for projects built with the Bevy game engine! Use this to check for Bevy-specific footguns and optimizations, as well as enforce project-wide restrictions and standards.

You can find the live documentation here.

Warning

This is an unofficial community project, hacked upon by the Bevy CLI working group until it is eventually upstreamed into the main Bevy Engine organization. Pardon our rough edges, and please consider submitting an issue if you run into trouble!

This release uses the nightly-2024-11-14 toolchain, based on Rust 1.84.0. You can install bevy_lint from Git with the following commands:

rustup toolchain install nightly-2024-11-14 \
    --component rustc-dev \
    --component llvm-tools-preview

rustup run nightly-2024-11-14 cargo install \    
    --git https://github.com/TheBevyFlock/bevy_cli.git \
    --tag lint-v0.1.0 \
    --locked \
    bevy_lint

All Changes: 17834eb...lint-v0.1.0

Added

  • Lint main_return_without_appexit to pedantic (#84)
  • Lint insert_event_resource to suspicious (#86)
  • Lint groups correctness, suspicious, complexity, performance, style, pedantic, restriction, and nursery (#98)
  • Lints panicking_query_methods and panicking_world_methods to restriction (#95)
  • Lint plugin_not_ending_in_plugin to style (#111)
  • Lint missing_reflect to restriction (#139)
  • Lint zst_query to restriction (#168)