From adb5c5b150f46fdc617082044626410ec39f9bc4 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 26 Jan 2023 09:53:17 -0500 Subject: [PATCH] Fix `respect_gitignore` reference (#2196) --- README.md | 2 +- src/settings/options.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`,