Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 456 Bytes

name-format.md

File metadata and controls

38 lines (28 loc) · 456 Bytes
id title
name-format
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