no-duplicate-footer-column-titles
Disallow duplicate static footer column titles.
Targeted pattern scopeโ
This rule targets docusaurus.config.* files and inspects top-level footer link column objects under themeConfig.footer.links.
What this rule reportsโ
This rule reports repeated static title values across footer columns. Comparison is case-insensitive and trims surrounding whitespace.
Why this rule existsโ
Duplicate footer column titles make footer navigation harder to scan and can hide accidental copy/paste mistakes.
โ Incorrectโ
export default {
themeConfig: {
footer: {
links: [
{ title: "Docs", items: [] },
{ title: "Docs", items: [] },
],
},
},
};
โ Correctโ
export default {
themeConfig: {
footer: {
links: [
{ title: "Docs", items: [] },
{ title: "Project", items: [] },
],
},
},
};
Behavior and migration notesโ
This rule reports only. It does not autofix because safe title changes require author intent.
When not to use itโ
Do not use this rule if duplicate footer column titles are an intentional design choice in your site.
Rule catalog ID: R060