code_smells
Detect code smells in TypeScript/JavaScript files: long functions, too many parameters, deep nesting, god classes, 'any' casts, non-null assertions. Scope analysis to a specific function for targeted checks.
Instructions
Detects code smells: long functions, too many parameters, deep nesting, god classes, 'any' casts, non-null assertions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the TS/JS file | |
| function | No | Scope analysis to a specific function |