Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 410 Bytes

File metadata and controls

23 lines (16 loc) · 410 Bytes

valid-private

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

This rule checks that the private property is a boolean.

Example of incorrect code for this rule:

{
	"private": "true"
}

Example of correct code for this rule:

{
	"private": true
}