summaryrefslogtreecommitdiffstats
path: root/clippy.toml
blob: 4715dab3073d3feff8cd424eb6858d843d295b54 (plain)
1
2
3
4
5
6
7
8
disallowed-methods = [
  # std::process::Command::new may inadvertly run executables from the current working directory
  "std::process::Command::new",
  # Setting environment variables can cause issues with non-rust code
  "std::env::set_var",
  # use `dunce` to avoid UNC/verbatim paths, where possible
  "std::fs::canonicalize",
]