MutuallyExclusiveScriptsConfig
Defined in: policies/MutuallyExclusiveScripts.ts:9
Configuration for the MutuallyExclusiveScripts policy.
Properties
Section titled “Properties”groups
Section titled “groups”groups:
string[][]
Defined in: policies/MutuallyExclusiveScripts.ts:23
List of mutually exclusive script groups. Each group is an array of script names where at most one script from the group can be present.
Packages can have zero scripts from the group (all optional), but cannot have multiple scripts from the same group.
Example
Section titled “Example”// Allow "test:unit" OR "test:vitest" OR neither, but not bothgroups: [["test:unit", "test:vitest"]]