Skip to content

valid-cpu

💼 This rule is enabled in the following configs: ✅ recommended, 📦 recommended-publishable.

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.