mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-22 23:52:12 -05:00
12 lines
561 B
TOML
12 lines
561 B
TOML
msrv = "1.65.0" # MSRV
|
|
warn-on-all-wildcard-imports = true
|
|
allow-expect-in-tests = true
|
|
allow-unwrap-in-tests = true
|
|
allow-dbg-in-tests = true
|
|
allow-print-in-tests = true
|
|
disallowed-methods = [
|
|
{ path = "std::option::Option::map_or", reason = "use `map(..).unwrap_or(..)`" },
|
|
{ path = "std::option::Option::map_or_else", reason = "use `map(..).unwrap_or_else(..)`" },
|
|
{ path = "std::result::Result::map_or", reason = "use `map(..).unwrap_or(..)`" },
|
|
{ path = "std::result::Result::map_or_else", reason = "use `map(..).unwrap_or_else(..)`" },
|
|
]
|