Rules
All rules from eslint-plugin-mark
.
Emoji | Description |
---|---|
✅ | Using recommended config from eslint-plugin-mark in a config file enables this rule. |
🔧 | Some problems reported by this rule are automatically fixable by --fix CLI option. |
💡 | Some problems reported by this rule are manually fixable by editor suggestions. |
⭐ | Rule is applicable to CommonMark. |
🌟 | Rule is applicable to GitHub Flavored Markdown. |
Rules (15) | Description | ✅ | 🔧 | 💡 | ⭐ | 🌟 |
---|---|---|---|---|---|---|
allowed-heading | Enforce the use of allowed text for headings | ⭐ | 🌟 | |||
alt-text | Enforce the use of alternative text for images | ✅ | ⭐ | 🌟 | ||
code-lang-shorthand | Enforce the use of shorthand for code block language identifiers | 🔧 | ⭐ | 🌟 | ||
en-capitalization | Enforce the use of capital letters at the beginning of sentences | 🔧 | ⭐ | 🌟 | ||
heading-id | Enforce the use of heading IDs | 🔧 | ⭐ | 🌟 | ||
image-title | Enforce the use of title attribute for images | ⭐ | 🌟 | |||
no-bold-paragraph | Disallow using fully bolded paragraphs as headings | ✅ | ⭐ | 🌟 | ||
no-control-character | Disallow control character | ✅ | ⭐ | 🌟 | ||
no-curly-quote | Disallow curly quotes(“ , ” , ‘ or ’ ) in text | 🔧 | ⭐ | 🌟 | ||
no-double-space | Disallow double or multiple consecutive spaces in text, except for leading and trailing spaces | ✅ | 🔧 | ⭐ | 🌟 | |
no-emoji | Disallow emojis in text | ⭐ | 🌟 | |||
no-git-conflict-marker | Disallow git conflict markers | ✅ | ⭐ | 🌟 | ||
no-irregular-dash | Disallow irregular dash | ⭐ | 🌟 | |||
no-irregular-whitespace | Disallow irregular whitespace | ✅ | ⭐ | 🌟 | ||
no-unused-definition | Disallow unused definitions | ✅ | ⭐ | 🌟 |