Skip to content

ExactScriptsConfig

Defined in: policies/ExactScripts.ts:11

Configuration for the ExactScripts policy.

scripts: Record<string, string>

Defined in: policies/ExactScripts.ts:28

Scripts that must exist AND have exact content.

Unlike RequiredScripts, scripts in exact are validated against the specified value. If a script exists but has different content, it fails validation. Both missing and mismatched scripts are auto-fixable.

scripts: {
clean: "rimraf dist esm",
format: "biome format --write .",
}