Apply eslint overrides for capitalization in UI

Disables sentence-case rule for UI elements where proper nouns
are used, ensuring intended capitalization is preserved for
acronyms and font names. Adds comments to justify each override
and re-enables the rule after relevant sections.
This commit is contained in:
AlexKucera committed 2025-11-08 19:15:02 +01:00
1 parent 7314776057
commit c1c02ee553
2 files changed
+7

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ export class obsidianTypstPDFExport extends Plugin {
`);
// Add ribbon icon using custom icon
// eslint-disable-next-line obsidianmd/ui/sentence-case -- "PDF" is an acronym and "Typst" is a proper noun
this.addRibbonIcon('typst-pdf-export', 'Export to PDF with Typst', (event: MouseEvent) => {
this.eventHandlers.handleRibbonClick(event);
});