Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.85 KB

File metadata and controls

25 lines (17 loc) · 1.85 KB

obsidianmd/ui/sentence-case-json

📝 Enforce sentence case for English JSON locale strings.

⚠️ This rule warns in the 🇬🇧 recommendedWithLocalesEn config.

🔧 This rule is automatically fixable by the --fix CLI option.

Options

Name Description Type Choices
acronyms Acronyms that should remain uppercase. String[]
allowAutoFix Whether to enable auto-fixes for sentence case violations. Boolean
brands Brand names to preserve with their canonical casing. String[]
enforceCamelCaseLower Whether to force CamelCase/PascalCase tokens to lowercase. Boolean
ignoreRegex Regex patterns for strings to ignore entirely. String[]
ignoreWords Words to skip when applying sentence case. String[]
mode Controls sentence case strictness; loose preserves CamelCase tokens while strict lowercases them. String loose, strict