diff --git a/.dprint.json b/.dprint.json
index 73204979ae..f870ab7727 100644
--- a/.dprint.json
+++ b/.dprint.json
@@ -21,19 +21,20 @@
"cli/dts/lib.scripthost.d.ts",
"cli/dts/lib.webworker*.d.ts",
"cli/dts/typescript.d.ts",
- "cli/tests/testdata/encoding",
- "cli/tests/testdata/inline_js_source_map*",
- "cli/tests/testdata/badly_formatted.md",
"cli/tests/testdata/badly_formatted.json",
+ "cli/tests/testdata/badly_formatted.md",
"cli/tests/testdata/byte_order_mark.ts",
+ "cli/tests/testdata/encoding",
"cli/tests/testdata/fmt/*",
"cli/tests/testdata/import_assertions/json_with_shebang.json",
+ "cli/tests/testdata/inline_js_source_map*",
+ "cli/tests/testdata/malformed_config/*",
"cli/tests/testdata/test/markdown_windows.md",
"cli/tsc/*typescript.js",
- "test_util/std",
- "test_util/wpt",
"gh-pages",
"target",
+ "test_util/std",
+ "test_util/wpt",
"third_party",
"tools/wpt/expectation.json",
"tools/wpt/manifest.json"
diff --git a/cli/config_file.rs b/cli/config_file.rs
index f18e56fc1b..3ca00b0f4c 100644
--- a/cli/config_file.rs
+++ b/cli/config_file.rs
@@ -18,8 +18,10 @@ use deno_core::serde_json::Value;
use deno_core::ModuleSpecifier;
use std::collections::BTreeMap;
use std::collections::HashMap;
+use std::collections::HashSet;
use std::fmt;
use std::path::Path;
+use std::path::PathBuf;
pub(crate) type MaybeImportsResult =
Result