Skip to content

Commit bf6d143

Browse files
committed
chore(dylint): set import_granularity style to crate
The perfectionist import_granularity lint defaults to module granularity, which conflicts with the crate-granularity merged imports used throughout the codebase. Set the style to crate for now so the lint matches the existing convention. Switching to module is tracked in #432. https://claude.ai/code/session_015ZyokLaZvcy5Yt8KpPxV3F
1 parent 49467a5 commit bf6d143

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

dylint.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ prefix = [
1919
"LowerHex", "UpperHex", "Octal",
2020
]
2121

22+
# The intended long-term style is "module". It is set to "crate" for now.
23+
# See https://github.com/KSXGitHub/parallel-disk-usage/issues/432.
24+
["perfectionist::import_granularity"]
25+
style = "crate"
26+
2227
["perfectionist::macro_argument_binding"]
2328
deny_extra = ["debug_assert_op", "debug_assert_op_expr"]
2429
allow_extra = ["assert_op_expr"]

0 commit comments

Comments
 (0)