Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 303 Bytes

keywords.md

File metadata and controls

32 lines (24 loc) · 303 Bytes

Enforce the use of keywords in package.json

Prevents not having keywords or an empty list of keywords in package.json.

Fail

{
  "name": "foo"
}
{
  "name": "foo",
  "keywords": [
  ]
}

Pass

{
  "name": "foo",
  "keywords": [
    "foo"
  ]
}