/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
libs/node_resolver/clippy.toml
46 строк
4 KB
David Sherret
refactor: force a reason on clippy overrides (#32761)
16 мар 2026, 15:41
Не верифицирован
16 мар 2026, 15:41
39a07b2
Код
Авторство
О чём код?
disallowed-methods = [ { path = "std::env::current_dir", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::canonicalize", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::is_dir", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::is_file", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::is_symlink", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::metadata", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::read_dir", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::read_link", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::symlink_metadata", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::try_exists", reason = "File system operations should be done using sys_traits" }, { path = "std::env::set_current_dir", reason = "File system operations should be done using sys_traits" }, { path = "std::env::temp_dir", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::canonicalize", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::copy", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::create_dir_all", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::create_dir", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::DirBuilder::new", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::hard_link", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::metadata", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::OpenOptions::new", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::read_dir", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::read_link", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::read_to_string", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::read", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::remove_dir_all", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::remove_dir", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::remove_file", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::rename", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::set_permissions", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::symlink_metadata", reason = "File system operations should be done using sys_traits" }, { path = "std::fs::write", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::canonicalize", reason = "File system operations should be done using sys_traits" }, { path = "std::path::Path::exists", reason = "File system operations should be done using sys_traits" }, { path = "std::time::SystemTime::now", reason = "System operations should be done using sys_traits" }, { path = "url::Url::to_file_path", reason = "Use deno_path_util instead so it works in Wasm" }, { path = "url::Url::from_file_path", reason = "Use deno_path_util instead so it works in Wasm" }, { path = "url::Url::from_directory_path", reason = "Use deno_path_util instead so it works in Wasm" }, { path = "std::path::absolute", reason = "File system operations should be done using sys_traits" }, { path = "std::env::var", reason = "Environment operations should be done using sys_traits" }, { path = "std::env::var_os", reason = "Environment operations should be done using sys_traits" }, { path = "chrono::Utc::now", reason = "Time should be retrieved using sys_traits" }, ] disallowed-types = [ { path = "std::sync::Arc", reason = "use deno_maybe_sync::MaybeArc instead" }, ]