check_quality
Analyze a file to detect bugs, code smells, security vulnerabilities, and complexity issues. Returns exact line numbers, severity levels, and available quick fixes.
Instructions
Check a file for code quality issues — bugs, code smells, security vulnerabilities, and complexity problems. Like having SonarLint in your IDE. Use after writing or modifying code to catch issues early. Returns issues with exact line numbers, severity, and available quick fixes. For multiple files use check_files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file to analyze (e.g., /path/to/file.js) | |
| minSeverity | No | Minimum severity level to include. Filters out issues below this level. Default: INFO (show all) | |
| excludeRules | No | List of rule IDs to exclude (e.g., ['typescript:S1135', 'javascript:S125']) |