Releases: tclindner/npm-package-json-lint
Releases · tclindner/npm-package-json-lint
v2.11.0
Added
- New rule: require-module
v2.10.0
Changed
- Addressed issues, from @moshest, #57 and #58. This change gives better recommendations for what change is required by the user to resolve the lint issue. It also no longer throws an error when a property exists in the package.json file that doesn't exist in the preferred property order array. Thanks @moshest.
v2.9.0
Changed
- Updated all rules to export a ruleType. Current valid values are "standard" and "array". The rules loader has been updated to references the ruleType export rather than trying to maintain a separate list of array style rules. This change closes issue #56 and should prevent the issue discussed in issue #53 from occurring again.
v2.8.2
Fixed
- Rule loader so it recognized prefer-property-order as an array type rule.
v2.8.1
Changed/Fixed
- Updated rule: prefer-property-order based on discussion with @moshest in issue #50 and @evilebottnawi in issue #53.
v2.8.0
Added
- New rule: prefer-property-order
v2.7.1
v2.7.0
Added
- The ability to pass config using:
- a
npmPackageJsonLintConfig
property inpackage.json
- a
.npmpackagejsonlintrc
file in the current working directory - a
npmpackagejsonlint.config.js
file that exports a config object in the current working directory. - a global
.npmpackagejsonlintrc
file in the root of your user directory - a global
npmpackagejsonlint.config.js
file that exports a config object in the root of your user directory
- a
Please see configuration object wiki page.
v2.6.0
v2.5.0
@chr1shaefn3r enhanced the following rules so they no longer require a leading equals sign