/ .clippy.toml
.clippy.toml
 1  avoid-breaking-exported-api = false
 2  
 3  allowed-idents-below-min-chars = [ "x", "y", "z", "r", "g", "b", "c", "s", "n" ]
 4  
 5  absolute-paths-allowed-crates = [ "cstree" ]
 6  allowed-wildcard-imports      = [ "super", "Kind" ]
 7  
 8  [[disallowed-methods]]
 9  allow-invalid = true                                                   # <https://github.com/rust-lang/rust-clippy/pull/14397#issuecomment-2848328221>.
10  path          = "unicode_width::UnicodeWidthStr::width"
11  reason        = "UnicodeWidthStr::width does not handle emoji or tabs"
12  replacement   = "cab_format::width"