Skip to content

valid-cpu

💼 This rule is enabled in the ✅ recommended config.

The rule checks that, if present, the cpu property is an Array of non-empty strings.

{
"cpu": true
}
  • require-cpu - Enforces that the cpu property is present.