Skip to content

NoRestrictedSyntaxRuleEntry

A single no-restricted-syntax entry pairing an ESLint AST selector with a human-readable message explaining why the pattern is banned.

Import:

import type { NoRestrictedSyntaxRuleEntry } from 'obsidian-dev-utils/script-utils/linters/eslint-no-restricted-syntax';

Signature:

export interface NoRestrictedSyntaxRuleEntry

Properties

PropertyTypeDescription
messagestringHuman-readable message shown when the selector matches.
selectorstringESLint AST selector identifying the banned pattern.

Links to this page: