All Projects → MinerSebas → bevy_lint

MinerSebas / bevy_lint

Licence: other
A Linter for bevy code

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to bevy lint

bevy easings
Helpers and Plugins for Bevy
Stars: ✭ 83 (+295.24%)
Mutual labels:  bevy
bevy
A refreshingly simple data-driven game engine built in Rust
Stars: ✭ 15,920 (+75709.52%)
Mutual labels:  bevy
bevy 4x camera
A 4X style camera for bevy.
Stars: ✭ 26 (+23.81%)
Mutual labels:  bevy
bevy-robbo
Port of mrk-its/rust-robbo to bevy
Stars: ✭ 33 (+57.14%)
Mutual labels:  bevy
bevy retrograde
Plugin pack for making 2D games with Bevy
Stars: ✭ 212 (+909.52%)
Mutual labels:  bevy
rgis
Performant, cross-platform (web, desktop) GIS app written in Rust
Stars: ✭ 79 (+276.19%)
Mutual labels:  bevy
bevy template
Compile-time optimized Bevy project template
Stars: ✭ 27 (+28.57%)
Mutual labels:  bevy
not snake game
A snake-inspired game made in Rust using the Bevy game engine.
Stars: ✭ 65 (+209.52%)
Mutual labels:  bevy
bevy prototype networking laminar
This is a prototype of a networking crate for bevy. This create provides a low-level networking plugin built on top of laminar
Stars: ✭ 30 (+42.86%)
Mutual labels:  bevy
bevy config cam
A Swiss Army knife of a camera plugin that allows for easy setup and configuration of a wide variety of types of moveable cameras and player cameras for a scene.
Stars: ✭ 155 (+638.1%)
Mutual labels:  bevy
bevy mod bounding
Unofficial plugin for generating bounding boxes in Bevy
Stars: ✭ 21 (+0%)
Mutual labels:  bevy
libracity
LibraCity - City planning on a needle! LibraCity is a puzzle game where you build a city at equilibrium on a needle. To succeed, take advantage of the various weights of the buildings, and place them all while ensuring the city remains stable.
Stars: ✭ 22 (+4.76%)
Mutual labels:  bevy
bevy chess
Chess demo in Bevy
Stars: ✭ 59 (+180.95%)
Mutual labels:  bevy
dango-tribute
👀
Stars: ✭ 20 (-4.76%)
Mutual labels:  bevy
bevy tilemap
Tilemap with chunks for the Bevy game engine.
Stars: ✭ 169 (+704.76%)
Mutual labels:  bevy
kurinji
Kurinji Input Map aims to decouple game play code from device specific input api. This is achieved by providing apis that allows you to map game actions to device input events instead of directly handling device inputs.
Stars: ✭ 47 (+123.81%)
Mutual labels:  bevy
bevy transform gizmo
A 3d gizmo for transforming entities in Bevy.
Stars: ✭ 41 (+95.24%)
Mutual labels:  bevy
taileater
A puzzle game where you eat your own tail to win!
Stars: ✭ 19 (-9.52%)
Mutual labels:  bevy
bevy kira audio
A Bevy plugin to use Kira for game audio
Stars: ✭ 99 (+371.43%)
Mutual labels:  bevy
space
A SCI-FI community game server simulating space(ships). Built from the ground up to support moddable online action multiplayer and roleplay!
Stars: ✭ 25 (+19.05%)
Mutual labels:  bevy

Bevy Lint

What is Bevy Lint?

This crates provides Lints for Bevy Code using dylint.

This crate currently only supports the main branch Version of Bevy.

Provided Lints

The provided Lints can be found at https://minersebas.github.io/bevy_lint/bevy_lint/.

How to run Lints

Add this to your Cargo.toml:

[workspace.metadata.dylint]
libraries = [
    { git = "https://github.com/MinerSebas/bevy_lint", branch = "main" },
]

Instead of a branch, you can also provide a tag or a rev (revision)

Afterwards you need to run these commans:

cargo install cargo-dylint dylint-link    # Only neccesary once
cargo dylint bevy_lint

Lint Creation

A Lint is created by implementing the LateLintPass trait and adding to the register_lints function.

When creating a UI Test, add the Test as an Example to the Cargo.toml. Also make sure that your .stderr File uses LF Line-endings and not CRLF, as otherwise the Test will fail without any explanation.

For more Resources you can take a look at the dylint resources.

License

bevy_lint is free and open source! All code in this repository is dual-licensed under either:

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].