script-utils/linters/eslint-rules/manifest-name
ESLint rule: manifest-name
Enforces the Community directory’s constraints on a plugin’s manifest.json name: no Obsidian or its variants, no Plugin, and Basic Latin only with hyphens, plus signs and parentheses the sole permitted punctuation.
Runs on the @eslint/json json/json language; see manifest-helpers.ts for why the AST is Momoa rather than ESTree.
Variables
Section titled “Variables”| Variable | Description |
|---|---|
| manifestName | ESLint rule enforcing the Community directory’s constraints on a plugin’s manifest.json name. |
| MESSAGE_ID_CONTAINS_OBSIDIAN | Message ID reported when the name contains Obsidian or one of its variants. |
| MESSAGE_ID_CONTAINS_PLUGIN | Message ID reported when the name contains Plugin. |
| MESSAGE_ID_INVALID_CHARACTERS | Message ID reported when the name holds a character outside Basic Latin, or punctuation the directory rejects. |