AST Anti-Patterns
ast_antipatternsDetect code anti-patterns via tree-sitter AST: empty catch, await-in-loop, unsafe HTML, as any, non-null assertions, eval, unhandled promises. No regex false positives.
Instructions
Run all built-in tree-sitter anti-pattern rules: empty catch, await-in-loop, dangerouslySetInnerHTML, as any, non-null assertions, eval, unhandled .then(). AST-precise — no regex false positives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the repository root |