4 ms·
More generally you can use "no-restricted-syntax" rule to forbid almost any type of syntax by matching AST against CSS-like selectors. https://eslint.org/docs/
by dns_snek 5mo ago
More generally you can use "no-restricted-syntax" rule to forbid almost any type of syntax by matching AST against CSS-like selectors.
https://eslint.org/docs/latest/rules/no-restricted-syntax https://eslint.org/docs/latest/rules/no-restricted-syntax
https://typescript-eslint.io/play/ https://typescript-eslint.io/play/