Skip to content

build(lint): enable rust-style linter rules - #19

Merged
furedea merged 1 commit into
mainfrom
build/enable-rust-style-linters
Nov 14, 2026
Merged

furedea merged 1 commit into
mainfrom
build/enable-rust-style-linters

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

概要

  • agent-config PR #193「波 2: linter で有効化する規則」の 7 規則を Cargo.toml に追加した.
  • 違反は missing_docs の 1 件だけで,crate doc(//!)を足して直した.
  • 7 規則すべてがピン留めされた clippy / rustc で動く.除外した規則はない.

規則と置き換える文章

設定 規則 置き換える文章(agent-config agents/skills/rust-style/) 違反数
[lints.rust] missing_debug_implementations types.md#L14 0
[lints.rust] unreachable_pub package_design.md#L14 0
[lints.rust] missing_docs code_style.md#L45 1(修正済み)
[lints.clippy] mod_module_files tooling.md#L47 0
[lints.clippy] wildcard_enum_match_arm types.md#L53 0
[lints.clippy] iter_over_hash_type types.md#L96 / config_serialization.md#L13 0
[lints.clippy] allow_attributes tooling.md#L65 0

検証

  • 有効化後に nix develop --command cargo clippy --all-targets を実行し,上の違反数を得た.
  • 修正後に cargo clippy --all-targets -- -D warnings が警告 0 件で通る.
  • コミット時の lefthook(fmt,clippy,ls-lint,file-length,commitlint)が通る.

Refs furedea/agent-config#74

🤖 Generated with Claude Code

Enable missing_debug_implementations, unreachable_pub, missing_docs,

allow_attributes, mod_module_files, wildcard_enum_match_arm and

iter_over_hash_type. Add the crate doc that missing_docs requires.

Refs furedea/agent-config#74

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@furedea

furedea commented Nov 14, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T09:23:13.333719Z 4c76b8d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Review summary (read-only)

No findings. The change adds 7 lint levels to Cargo.toml and a crate-level doc comment in src/main.rs to satisfy missing_docs. These are config-only changes. Runtime behaviour is unchanged, so no new tests are needed. The rule levels are consistent with the existing [lints] setup: all/pedantic stay at priority -1, so individual overrides still apply.

Blocking findings (P0/P1): 0

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 4c76b8df30

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea
furedea merged commit 88cce9a into main Nov 14, 2026
18 checks passed
@furedea
furedea deleted the build/enable-rust-style-linters branch November 14, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant