Enforces that package.json declares author or contributor attribution.
✅ This rule is included in the package-json logical presets.
Package attribution identifies the people responsible for creating, maintaining, or contributing to a package.
npm supports attribution through either the author property or the contributors property.
This rule enforces that public packages include author or a non-empty contributors.
If package ownership is tracked outside package.json, such as in an internal service catalog or repository CODEOWNERS policy, this rule might not be for you.
If you already enable authorPresence or contributorsPresence, this rule is redundant and would double-report.
Pick attribution when either property is acceptable, or pick the more specific rule when you want to require one in particular.