mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
13 lines
789 B
TOML
13 lines
789 B
TOML
msrv = "1.70.0" # MSRV
|
|
warn-on-all-wildcard-imports = true
|
|
allow-expect-in-tests = true
|
|
allow-unwrap-in-tests = true
|
|
allow-dbg-in-tests = true
|
|
disallowed-methods = [
|
|
{ path = "std::option::Option::map_or", reason = "prefer `map(..).unwrap_or(..)` for legibility" },
|
|
{ path = "std::option::Option::map_or_else", reason = "prefer `map(..).unwrap_or_else(..)` for legibility" },
|
|
{ path = "std::result::Result::map_or", reason = "prefer `map(..).unwrap_or(..)` for legibility" },
|
|
{ path = "std::result::Result::map_or_else", reason = "prefer `map(..).unwrap_or_else(..)` for legibility" },
|
|
{ path = "std::iter::Iterator::for_each", reason = "prefer `for` for side-effects" },
|
|
{ path = "std::iter::Iterator::try_for_each", reason = "prefer `for` for side-effects" },
|
|
]
|