check_files
Analyze multiple source files for bugs, code smells, and security vulnerabilities in one call. Supports glob patterns and returns compact results highlighting only files with issues.
Instructions
Check multiple files for code quality issues in one call — bugs, code smells, security vulnerabilities. Use when reviewing or modifying several files. Supports glob patterns (e.g. 'src/**/*.ts'). When using relative paths or globs, provide basePath so they resolve correctly. Output is compact: only files with issues are shown, clean files get a summary count. For a single file use check_quality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basePath | No | Project root directory for resolving relative paths and globs (e.g., '/Users/me/project'). Required when filePaths contains relative paths. | |
| filePaths | Yes | Array of file paths or glob patterns to analyze (e.g., ['/path/to/file.ts', 'src/**/*.js']) | |
| groupByFile | No | Group issues by file in output (default: true) | |
| 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']) |