no_bom
Flag a leading UTF-8 / UTF-16 LE/BE / UTF-32 LE/BE byte-order mark. The fixer strips whichever BOM is detected.
- id: no-bom kind: no_bom paths: ["**/*.rs", "**/*.toml", "**/*.yml"] level: warning fix: file_strip_bom: {}Options
Section titled “Options”This rule takes no kind-specific options.
Plus the common paths, level, id, and when fields. This table is generated from the JSON Schema; option types and defaults are authoritative.