lint_code
Analyze codebase for syntax errors, style issues, and potential bugs using custom lint commands. Specify a directory to ensure consistent coding standards and improve code quality in development workflows.
Instructions
Run linting on the codebase
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | No | Lint command to run (e.g., "npm run lint", "eslint .") | npm run lint |
directory | No | Directory to run linting in (default: current directory) |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"default": "npm run lint",
"description": "Lint command to run (e.g., \"npm run lint\", \"eslint .\")",
"type": "string"
},
"directory": {
"description": "Directory to run linting in (default: current directory)",
"type": "string"
}
},
"type": "object"
}