Skip to content

Releases: tclindner/npm-package-json-lint

v4.0.1

19 Oct 18:57
8971257
Compare
Choose a tag to compare

🙈 Fixed

  • Resolved an issue with applying override config. Please see #123 for more details. Thank you @simison for reporting this issue.

v4.0.0

06 Oct 17:44
66a006e
Compare
Choose a tag to compare

💥 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:

v4.0.0-beta.3

22 Sep 18:20
13a86b2
Compare
Choose a tag to compare
v4.0.0-beta.3 Pre-release
Pre-release

Added

  • Added config schema validation

v4.0.0-beta.2

29 Jul 00:26
fd45725
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release

Fixed

  • Issue with file globbing not respecting the passed or defaulted current working directory.

v4.0.0-beta.1

27 Jul 23:31
5f0669f
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

Added

Changed

  • name-format now checks the following things:

    • Name is lowercase
    • Name is less than 214 characters. This includes scope.
    • Name doesn't start with a . or a _.

    Addresses #115

  • 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.

Removed

  • Dropped support for Node 6 and 7.

v3.7.0

16 Jun 21:59
606279a
Compare
Choose a tag to compare

Added

Addresses #109 from @ceilfors.

v3.6.1

23 May 02:09
5832af8
Compare
Choose a tag to compare

Fixed

  • @lddubeau resolved an issue with how require.resolve was implemented. The issue was causing npm-package-json-lint to crash on Node 12.3.0. Please see #110 for more details.

Huge shout-out to @lddubeau for identifying and fixing this issue 🎉

v3.6.0

01 Mar 03:29
fd19a21
Compare
Choose a tag to compare

Added

Huge shout-out to @greatislander for contributing the rule! 🎉

v3.5.0

03 Feb 20:44
f691d89
Compare
Choose a tag to compare

Added

  • New cli flag, ignorePath (-i) - Path to a file containing patterns that describe files to ignore.

Huge shout-out to @evilebottnawi for contributing the new cli option! 🎉

v3.4.1

13 Oct 23:26
401fb60
Compare
Choose a tag to compare

Fixed

  • Resolved an issue with the following rules:
    • no-caret-version-dependencies
    • no-caret-version-devDependencies
    • no-tilde-version-dependencies
    • no-tilde-version-devDependencies

Addresses #97 from @agvctm.