mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-22 21:23:02 +01:00
10 lines
346 B
TOML
10 lines
346 B
TOML
# shared-lints begin
|
|
allow-unwrap-in-tests = true
|
|
allow-expect-in-tests = true
|
|
allow-panic-in-tests = true
|
|
allow-dbg-in-tests = true
|
|
disallowed-methods = [
|
|
{ path = "std::env::var", reason = "read env in config.rs at startup" },
|
|
{ path = "std::time::SystemTime::now", reason = "use config::now() or an injected clock" },
|
|
]
|
|
# shared-lints end
|