Analysis options
Output format for analysis results.Values: See Output Formats for examples of each format.
pretty, compact, plan, jsonDefault: prettyComma-separated patterns to ignore during analysis.Default: Patterns are combined with ignore patterns from
"" (empty)vibrant.config.js.Automatically fix problems where possible.Default: Only applies fixes for rules that support auto-fixing. After fixing, Vibrant displays the number of issues fixed.
falseAI options
Enable AI-powered analysis for deeper code inspection.Default: Requires an AI provider to be configured via environment variables or the
false--provider flag.AI provider to use for analysis.Values: Each provider requires specific environment variables:
openai, claude, gemini, ollama, openrouterDefault: Auto-detected from environment variables- openrouter:
OPENROUTER_API_KEY - openai:
OPENAI_API_KEY - gemini:
GOOGLE_GENERATIVE_AI_API_KEY - claude:
ANTHROPIC_API_KEY - ollama: No API key required (runs locally)
Disable analysis cache for AI-powered analysis.Default: By default, Vibrant caches AI analysis results to improve performance on subsequent runs. Use this flag to force fresh analysis.
false (cache enabled)Global options
Display version number.
Display help for command.
Environment variables
Vibrant automatically loads environment variables from.env files in the following order:
.env.env.local.env.development.env.production
AI provider keys
.env
Option precedence
When the same option is specified in multiple places, Vibrant uses this precedence (highest to lowest):- Command-line flags
- Configuration file (
vibrant.config.js) - Default values
Example
vibrant.config.js