Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 516 Bytes

require-author.md

File metadata and controls

39 lines (28 loc) · 516 Bytes
id title
require-author
require-author

Enabling this rule will result in an error being generated if author is missing from the package.json file.

Example .npmpackagejsonlintrc configuration

{
  "rules": {
    "require-author": "error"
  }
}

Rule Details

Incorrect example(s)

{

}

Correct example(s)

{
  "author": "Thomas Lindner"
}

History

  • Renamed from author-required to require-author in version 1.0.0
  • Introduced in version 0.1.0