name-format
Enabling this rule will result in an error being generated if name
is not lowercase.
Example .npmpackagejsonlintrc configuration
{
"rules": {
"name-format": "error"
}
}
Rule Details
Incorrect example(s)
{
"name": "NPM-Package-JSON-Lint"
}
Correct example(s)
{
"name": "npm-package-json-lint"
}
History
- Introduced in version 1.0.0