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 NoRestrictedSyntaxRuleEntryProperties
| Property | Type | Description |
|---|---|---|
| message | string | Human-readable message shown when the selector matches. |
| selector | string | ESLint AST selector identifying the banned pattern. |
Links to this page: