Skip to content

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.

VariableDescription
manifestNameESLint rule enforcing the Community directory’s constraints on a plugin’s manifest.json name.
MESSAGE_ID_CONTAINS_OBSIDIANMessage ID reported when the name contains Obsidian or one of its variants.
MESSAGE_ID_CONTAINS_PLUGINMessage ID reported when the name contains Plugin.
MESSAGE_ID_INVALID_CHARACTERSMessage ID reported when the name holds a character outside Basic Latin, or punctuation the directory rejects.