Skip to content
  • v4.0.0
  • 66a006e
  • Compare
    Choose a tag to compare
    Search for a tag
  • v4.0.0
  • 66a006e
  • Compare
    Choose a tag to compare
    Search for a tag

@tclindner tclindner released this Oct 6, 2019 · 48 commits to master since this release

💥 Breaking Changes

  • name-format now checks the following things (#115):
    • Name is lowercase
    • Name is less than 214 characters. This includes scope.
    • Name doesn't start with a . or a _.
  • Node.js API consolidated. NpmPackageJsonLint constructor now takes an options object and exposes one public method, lint. The linter automatically scans for relevant config. The CLIEngine has been removed. Check out the documentation for more details. (#82).
  • Improved schema validation that runs against npm-package-json-lint config files. Highlights include:
    • Better error messages. Ex: - severity must be either "off", "warning", or "error".
    • Array type rules now ensure at least one item is passed.
    • Array type rules now validate unique items are passed.

🚀 Added

Core:

New rule:

Assets 2
You can’t perform that action at this time.