Skip to content

script-utils/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.

InterfaceDescription
NoRestrictedSyntaxRuleEntryA single no-restricted-syntax entry pairing an ESLint AST selector with a human-readable message explaining why the pattern is banned.
VariableDescription
noRestrictedSyntaxRuleEntriesRestricted-syntax entries enforced by the shared ESLint config.