mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Change crlf
to cr-lf
in docs (#7766)
## Summary This change fixes an error in the documentation where cr-lf was displayed as crlf which if you tried to enter into the configuration file running ruff would break. ## Test Plan I ran the tests locally and I ran the documentation server locally and verified the edit ### [Documentation Site](https://docs.astral.sh/ruff/settings/#format-line-ending)  ### Local 
This commit is contained in:
parent
c6d0bdd572
commit
55fa887099
1 changed files with 1 additions and 1 deletions
|
@ -2557,7 +2557,7 @@ pub struct FormatOptions {
|
|||
/// * `native`: Line endings will be converted to `\n` on Unix and `\r\n` on Windows.
|
||||
#[option(
|
||||
default = r#"lf"#,
|
||||
value_type = r#""lf" | "crlf" | "auto" | "native""#,
|
||||
value_type = r#""lf" | "cr-lf" | "auto" | "native""#,
|
||||
example = r#"
|
||||
# Automatically detect the line ending on a file per file basis.
|
||||
line-ending = "auto"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue