Enforce the engine of a project
This rule aims to enforce the engine of a package.
Examples of incorrect code for this rule:
{
"description": "missing engines"
}
{
"engines": {}
}
Examples of correct code for this rule:
{
"engines": {
"node": ">=8"
}
}
"node-only"
(default) requires a string other than "UNLICENSED""require-npm"
allows the string "UNLICENSED"
If this is local project, and you're always using the latest node version, you may not want this rule.