Format the code with rustfmt and check formatting and lints in CI
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
調査の方向性
まず cargo fmt --all を実行し、その変更だけを単独でコミットしてください。次に cargo fmt --all --check が何も報告しないことを確認します。続いて .github/workflows/ci.yml を編集し、Test の前に fmt と clippy のステップを追加します。その際、dtolnay/rust-toolchain@stable のステップに components: rustfmt, clippy を追加してください。最後に CONTRIBUTING.md に1行追加します。両方の cargo コマンドがローカルと CI の両方で、動作の変更なしに成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The Rust code isn't run through rustfmt yet, so contributors who format their changes get unrelated diffs in other files. cargo fmt --all --check currently reports differences in 14 files. cargo clippy --workspace --all-targets is already clean, but nothing keeps it that way.
This is a good first contribution: no Windows API knowledge needed.
What to do
-
Run
cargo fmt --alland commit the result on its own, with no other changes, so it is easy to review. -
In
.github/workflows/ci.yml, add two steps before Test:cargo fmt --all --checkcargo clippy --workspace --all-targets -- -D warnings
dtolnay/rust-toolchain@stableneedscomponents: rustfmt, clippyfor these to work. -
Mention in CONTRIBUTING.md that contributors should run
cargo fmt --allbefore opening a pull request.
Done when
cargo fmt --all --checkandcargo clippy --workspace --all-targets -- -D warningsboth pass locally and in CI.- No code behaviour changes.
- 主要言語
- Rust
- スター
- 7
- フォーク
- 1
- 平均マージ
- 6時間 34分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodingRule/Hidely のほかの issue
-
accessibility help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CodingRule/Hidely#15 ·
-
compatibility help wanted testing
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CodingRule/Hidely#14 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
CodingRule/Hidely#13 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
CodingRule/Hidely#3 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
CodingRule/Hidely#2 ·
CodingRule/Hidely の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
autofixer: follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tursodatabase/turso#12531 ·
メンテナーはふだん 1 日以内に返信
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
userFRM/egui-charts#4292 ·
メンテナーはふだん 1 日以内に返信
-
Issue-Bug Need-Review
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
PowerShell/DSC#1832 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信