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.
Examples
Section titled “Examples”{ "cpu": true}{ "cpu": ["x64", "ia32"]}Related Rules
Section titled “Related Rules”require-cpu- Enforces that thecpuproperty is present.