Skip to content

Integrate with clippy lints #773

@musjj

Description

@musjj

What problem does this solve or what need does it fill?

The documentation provides a how-to for integrating bevy_lint into your editor: Rust Analyzer Support - Bevy CLI and Bevy Linter.

It works, but this effectively prevents you from also integrating clippy.

What solution would you like?

bevy_lint should have a mode that also runs clippy. Maybe something like bevy_lint --clippy.

What alternative(s) have you considered?

I'm currently using the following script:

#!/usr/bin/env bash
bevy_lint "$@" &
cargo clippy "$@" &
wait

Which works, but it'd be nice if we can have something built in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-FeatureMake something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions