diff options
Diffstat (limited to 'ext/node/clippy.toml')
-rw-r--r-- | ext/node/clippy.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/clippy.toml b/ext/node/clippy.toml index 31d9d7d47..02fd259d0 100644 --- a/ext/node/clippy.toml +++ b/ext/node/clippy.toml @@ -38,3 +38,6 @@ disallowed-methods = [ { path = "std::fs::symlink_metadata", reason = "File system operations should be done using FileSystem trait" }, { path = "std::fs::write", reason = "File system operations should be done using FileSystem trait" }, ] +disallowed-types = [ + { path = "std::sync::Arc", reason = "use deno_fs::sync::MaybeArc instead" }, +] |