mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 13:33:50 +00:00
Fix missing related settings header (#12013)
This commit is contained in:
parent
32ccc38365
commit
e2e98d005c
1 changed files with 2 additions and 2 deletions
|
@ -165,9 +165,9 @@ pub(crate) fn generate() -> String {
|
|||
table_out.push('\n');
|
||||
}
|
||||
|
||||
if Options::metadata().has(linter.name()) {
|
||||
if Options::metadata().has(&format!("lint.{}", linter.name())) {
|
||||
table_out.push_str(&format!(
|
||||
"For related settings, see [{}](settings.md#{}).",
|
||||
"For related settings, see [{}](settings.md#lint{}).",
|
||||
linter.name(),
|
||||
linter.name(),
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue