Skip to content

no_zero_width_chars

Flag body-internal zero-width characters (U+200B, U+200C, U+200D, and non-leading U+FEFF). A leading U+FEFF is no_bom’s concern.

- id: no-zwsp
kind: no_zero_width_chars
paths: "crates/**/src/**/*.rs"
level: error
fix:
file_strip_zero_width: {}