projen
Version:
CDK for software projects
33 lines (32 loc) • 1.13 kB
TypeScript
import { PolarisCoverity } from "./coverity";
import type { PolarisCoverityOptions } from "./coverity";
import type { Project } from "../project";
/**
* Options for `PolarisCoverityGo`.
*
* Extends base options with Go-specific defaults.
*/
export interface PolarisCoverityGoOptions extends PolarisCoverityOptions {
}
/**
* A Coverity on Polaris configuration preset for Go projects.
*
* Provides sensible defaults for Go analysis:
* - `capture.languages.include` = `[go]`
* - `capture.buildCapture.buildCommand` = `go build .`
* - `capture.compilerConfiguration.covConfigure` = `[["--go"]]`
* - `capture.files.excludeRegex` excludes `vendor`, `bin` and other
* conventional Go build artifacts
*
* All defaults can be overridden via options. Nested options (e.g.
* `capture`) are deep-merged with the defaults, so overriding one nested
* field does not drop the other defaults in that subtree.
*
* @example
* new PolarisGoCoverity(project, {
* commit: {},
* });
*/
export declare class PolarisGoCoverity extends PolarisCoverity {
constructor(project: Project, options: PolarisCoverityGoOptions);
}