Skip to content

line_endings

Every line ending matches target: lf or crlf. Mixed endings in a single file fail.

- id: lf-only
kind: line_endings
paths: ["**/*.rs", "**/*.md"]
target: lf
level: warning
fix:
file_normalize_line_endings: {}