linebender/parley

Add the linebender lint set

Open

#108 opened on 2024年8月25日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Rust (92 forks)github user discovery
good first issue

Repository metrics

Stars
 (620 stars)
PR merge metrics
 (PR metrics pending)

説明

We should add a standardized set of rustc lints and clippy lints to all our projects. If we raise MSRV to 1.74, we can add them directly to Cargo.toml.

See zulip discussion for what our lint set should be. See https://github.com/linebender/peniko/pull/47/ for our current lint set.

Aside from the Cargo.toml lints, we should also add the following annotation to our crate root:

#![warn(clippy::print_stdout, clippy::print_stderr, clippy::dbg_macro)]

(We don't want a workspace-level lints for those because we want to tolerate prints in tests and examples.)

See this zulip thread for details.

We should add the following annotation at the crate roots:

We should also remove leftover prints, if any, or give them an opt-out.

コントリビューターガイド