shepherd-launcher/clippy.toml
Albert Armea 1fe6971fb2 Add CI
2025-12-28 22:07:23 -05:00

10 lines
430 B
TOML

# Clippy configuration for shepherd-launcher
#
# This file configures clippy lints for the workspace.
# Disallow direct usage of Local::now() to ensure mock time is used consistently.
# Use shepherd_util::now() instead, which respects the SHEPHERD_MOCK_TIME env var
# in debug builds.
disallowed-methods = [
{ path = "chrono::Local::now", reason = "Use shepherd_util::now() instead to support mock time in debug builds" },
]