megalinter_run
Run MegaLinter linting with advanced configuration options including flavor, release, fixes, and environment variables for full low-level control.
Instructions
Run Ox Security MegaLinter using mega-linter-runner with full low-level control. For short prompts, use megalinter_quick_action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workingDirectory | No | Directory where the command is executed. Defaults to current process directory. | |
| path | No | Directory path to lint. | |
| flavor | No | MegaLinter flavor. | all |
| release | No | MegaLinter Docker image tag. | v9 |
| image | No | Optional full Docker image override. | |
| env | No | Environment variable string passed to --env (for example: DISABLE_LINTERS=SPELL_CSPELL,MARKDOWN_MARKDOWNLINT). | |
| fix | No | Apply auto-fixes. | |
| help | No | Show mega-linter-runner help. | |
| install | No | Generate MegaLinter starter config files. | |
| containerName | No | Optional Docker container name. | |
| removeContainer | No | Remove container after completion. | |
| configFile | No | Path to .mega-linter.yml file. | |
| reportsPath | No | Directory where reports are written. | megalinter-reports |
| disableLinters | No | Comma-separated list of linters to disable. | |
| lintChangedFilesOnly | No | If true, sets VALIDATE_ALL_CODEBASE=false to lint only changed files. | |
| runnerVersion | No | mega-linter-runner npm version. Use 'latest' or a specific version. | latest |
| timeoutSeconds | No | Command timeout in seconds. | |
| summaryOnly | No | Return concise logs instead of full stdout/stderr output. | |
| extraArgs | No | Additional CLI arguments to append. |