Skip to content

linters/eslint-no-restricted-syntax

no-restricted-syntax rule entries for the shared ESLint config.

Exported as a standalone constant so each selector can be unit-tested independently of the larger declarative config.

Interface Description
NoRestrictedSyntaxRuleEntry A single no-restricted-syntax entry pairing an ESLint AST selector with a human-readable message explaining why the pattern is banned.
Variable Description
noRestrictedSyntaxRuleEntries Restricted-syntax entries enforced by the shared ESLint config.