Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 435 Bytes

File metadata and controls

23 lines (16 loc) · 435 Bytes

valid-cpu

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

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

Example of incorrect code for this rule:

{
	"cpu": true
}

Example of correct code for this rule:

{
	"cpu": ["x64", "ia32"]
}