From b2eface2dfdd76bea9ceccd93c5af2be6060fd3c Mon Sep 17 00:00:00 2001 From: Danial Kalbasi Date: Tue, 5 May 2026 12:28:42 +0200 Subject: [PATCH] Align sentence-case lint with review bot --- eslint.config.mjs | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index e17628c..0d65a6d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -16,7 +16,7 @@ export default defineConfig([ "obsidianmd/ui/sentence-case": [ "warn", { - brands: ["OpenAI", "ElevenLabs", "GitHub"], + brands: ["OpenAI", "ElevenLabs", "GitHub", "Markdown"], acronyms: ["API", "TTS", "WPM", "HTML", "JSON", "CSS", "SVG", "OS", "URL", "ID", "CTA"], }, ], diff --git a/src/main.ts b/src/main.ts index 4891ae6..9f0cabc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -487,7 +487,7 @@ export default class VoxPlugin extends Plugin { const raw = await this.app.vault.cachedRead(file); const text = stripMarkdown(raw); if (!text.trim()) { - new Notice("The note is empty after stripping markdown."); + new Notice("The note is empty after stripping Markdown."); return; }