mirror of
https://github.com/denoland/deno.git
synced 2025-02-20 20:33:42 -05:00

The `.parse()` calls in permission code are only making it more confusing, verbosity is encouraged and welcome in this code even at the cost of not being concise. Left a couple TODOs to not use `AnyError`.
3 lines
178 B
TOML
3 lines
178 B
TOML
disallowed-methods = [
|
|
{ path = "std::str::FromStr", reason = "Don't want to have stuff like `'0.0.0.0'.parse().unwrap()`. Instead implement ConcreteType::parse methods." },
|
|
]
|