🚀 Feature: export validateAuthor
function
#231
Labels
status: accepting prs
Please, send a pull request to resolve this! 🙏
type: feature
New enhancement or request 🚀
Feature Request Checklist
main
branch of the repository.Overview
In support of JoshuaKGoldberg/eslint-plugin-package-json#840,
package-json-validator
should provide avalidateAuthor
function, which validates the value of theauthor
property in apackage.json
. The function should validate whether the value is of the correct form. As part of introducing the new function, it should be used in place of the equivalent validation forauthor
in the monolithicvalidate
function.Additional Info
The current monolithic
validate
function uses avalidatePeople
function that does a pretty good job of validating the shape ofauthor
. So,validateAuthor
should just be a light wrapper around this function.The text was updated successfully, but these errors were encountered: