diff --git a/README.md b/README.md index 69ffe6dde20a7..d6f5154cd02af 100644 --- a/README.md +++ b/README.md @@ -2377,7 +2377,7 @@ Enabled by default. ```toml [tool.ruff] -respect_gitignore = false +respect-gitignore = false ``` --- diff --git a/src/settings/options.rs b/src/settings/options.rs index 367d288944ab7..d25e9a58006e1 100644 --- a/src/settings/options.rs +++ b/src/settings/options.rs @@ -285,7 +285,7 @@ pub struct Options { default = "true", value_type = "bool", example = r#" - respect_gitignore = false + respect-gitignore = false "# )] /// Whether to automatically exclude files that are ignored by `.ignore`,