Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 473 Bytes

File metadata and controls

26 lines (19 loc) · 473 Bytes

valid-directories

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

The rule checks that, if present, the directories property is an object.

Example of incorrect code for this rule:

{
	"directories": true
}

Example of correct code for this rule:

{
	"directories": {
		"bin": "dist/bin",
		"man": "docs"
	}
}