Skip to content

Commit 6f64b4f

Browse files
authored
v4.0.3 (#146)
* Delete .npmrc * Bump deps * Add note about breaking change in package.json property * Add globbing to directories * Update package.json
1 parent 25297a6 commit 6f64b4f

File tree

9 files changed

+7200
-11
lines changed

9 files changed

+7200
-11
lines changed

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
66

7+
## [4.0.3] - 2019-10-26
8+
### Fixed
9+
- Resolved an issue where package.json files were not recursively scanned for when the CLI/API pattern was a directory. Ex: `/packages` would only detect the package.json file in `/packages`.
10+
711
## [4.0.2] - 2019-10-19
812
### Fixed
913
- Resolved an issue with config schema validation that caused `prefer-property-order` to fail with valid config. Addresses [#142](https://github.com/tclindner/npm-package-json-lint/issues/142) from @sakthivel-tw.
@@ -53,7 +57,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5357
- Array type rules now ensure at least one item is passed.
5458
- Array type rules now validate unique items are passed.
5559

56-
### Fixed
60+
- Change the property name that configuraton is pulled from package.json files. Property was `npmPackageJsonLintConfig`. It is now `npmpackagejsonlint`.
5761

5862
### Removed
5963
- Dropped support for Node 6 and 7.

docs/v3-to-v4.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ v4.0.0 Migration Guide
1111

1212
There is a new [Node.js API](api.md) available. Please see the docs.
1313

14+
## package.json configuration property name change
15+
16+
It is possible to specify configuration in your package.json file. In v3, the property name was `npmPackageJsonLintConfig`. This must be changed to `npmpackagejsonlint` in v4.
17+
1418
## Additional changes
1519

1620
Please see the [release notes](https://github.com/tclindner/npm-package-json-lint/releases/tag/v4.0.0) for additional changes introduced in v4.0.0.

0 commit comments

Comments
 (0)