docs: Commands ブロックに yarn lint:overrides を載せる - #70
Conversation
PR #67 で意図的に後回しにしていた 1 行。#65 が同じブロックを編集していたので、 予測できるコンフリクトを避けるため #65 のマージ後に回していた(#67 の本文と ledger の row 0c に記録済み)。両方マージ済みなので入れる。 所要時間を「~40s」と書きかけて実測したら 11 秒だった。41 秒は #67 のブランチでの 値で、そこでは免除が 19 個あった —— #68 が strict-boolean-expressions を解消し max-lines 系 4 つを天井付き error にしたので、今は 14 個。config 次第で動く数を 書くのはこの検査が見つけて回っていた腐り方そのものなので、数ではなく「免除 1 つに つき lint 1 回」という形で書いた。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GTPpB2eHQ9eovAs6QRNsTH
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe command documentation now includes ChangesLint documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This documentation-only change adds the existing yarn lint:overrides command to the development command reference and introduces no actionable merge-blocking risk. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
PR #67 で意図的に後回しにしていた 1 行を入れます。#65 が CLAUDE.md の同じ Commands ブロックを編集していたため、予測できるコンフリクトを避けて #65 のマージ後に回していたものです(#67 の本文と ledger の row 0c に記録済み)。両方マージ済みになったので回収します。
Items to Confirm / Review
所要時間を書きかけて、実測したら嘘でした。 最初は「~40s」と書きました —— #67 のブランチでの実測値です。今 main で測ると 11 秒でした。
理由は #68 が同じ config を変えたからです:
#68 が
strict-boolean-expressionsを解消し(1 件)、max-lines/max-lines-per-functionの 4 エントリをwarnから天井付きerror(=免除ではなくゲート)に変えたので、計 5 つが測定対象から外れました。2 つの PR が意図どおり噛み合った結果で、この検査が config を追随していることの実証でもあります。そのうえで、config 次第で動く数は書かないことにしました。数をコメントに書いて腐らせるのは、まさに
lint:overridesが見つけて回っていた腐り方です。「免除 1 つにつき lint 1 回」という形だけを書いています。裏取り
ci.ymlが語るyarn <script>をpackage.jsonと突き合わせ → 実在しない script は無し、どこにも書かれていない script も無しformat:check/lint/typecheck/testすべて終了コード 0User Prompt
Summary by Sourcery
Document the deferred
yarn lint:overridescommand in the project’s development command reference.Enhancements:
yarn lint:overridescommand alongside the project’s other development commands, including its purpose and runtime behavior.Documentation:
yarn lint:overridesvalidates ESLint per-file exemptions.Summary by CodeRabbit
yarn lint:overridescommand.