Hacker News new | ask | show | jobs
by LudwigNagasena 17 days ago
There is @typescript-eslint/no-explicit-any.
1 comments

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://typescript-eslint.io/play/