Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 336 Bytes

no-empty-keywords.md

File metadata and controls

31 lines (25 loc) · 336 Bytes

Enforce not having empty keywords in package.json

Prevents having empty keywords in the keywords field in package.json.

Fail

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

Pass

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