JsSafetyChecker
Scans JavaScript files for duplicate functions, duplicate HTML IDs, and syntax errors using AST analysis. Returns findings to help maintain code integrity.
Instructions
Run the JavaScript safety checker (AST-based duplicate function, duplicate HTML ID, syntax errors) against a file or directory. Returns findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Target directory or file to scan (default: cwd) | |
| timeout | No | Timeout in ms (max 600000) |