From 9be0f98f71fe8071ab839ac1036b4064ac3172b4 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 29 Jun 2026 00:03:00 +0900 Subject: chore(lint): ban bare `use anyhow::Result` and fully qualify it Add a no_banned_use linter that forbids importing anyhow::Result, and update all call sites to reference it via its fully-qualified path so it is never confused with std::result::Result. Co-Authored-By: Claude Opus 4.8 (1M context) --- scripts/lint | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/lint') diff --git a/scripts/lint b/scripts/lint index 89f5fe0..c9e3304 100755 --- a/scripts/lint +++ b/scripts/lint @@ -5,6 +5,7 @@ require 'pathname' LINTERS = { cargo_workspace_dependencies: [], contiguous_use_block: [], + no_banned_use: [], no_decorative_section_comment: %w[ crates/shirabe-semver/src/version_parser.rs ], -- cgit v1.3.1