Skip to content

Integrate with clippy lints #773

Open

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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