Repository navigation
v0.58.0
Minor Changes
-
#505
31cff49Thanks @clayroach! - EnhancediagnosticsCLI command with new options for CI/CD integration and tooling:-
--format: Output format selection (json,pretty,text,github-actions)json: Machine-readable JSON output with structured diagnostics and summarypretty: Colored output with context (default, original behavior)text: Plain text output without colorsgithub-actions: GitHub Actions workflow commands for inline PR annotations
-
--strict: Treat warnings as errors (affects exit code) -
--severity: Filter diagnostics by severity level (comma-separated:error,warning,message) -
Exit codes: Returns exit code 1 when errors are found (or warnings in strict mode)
Example usage:
# JSON output for CI/CD pipelines effect-language-service diagnostics --project tsconfig.json --format json # GitHub Actions with inline annotations effect-language-service diagnostics --project tsconfig.json --format github-actions # Strict mode for CI (fail on warnings) effect-language-service diagnostics --project tsconfig.json --strict # Only show errors effect-language-service diagnostics --project tsconfig.json --severity error
Closes Effect-TS/effect #5180.
-