Skip to content

Commit 98a3f4f

Browse files
authored
npm-package-json-lint v6 (#264)
1 parent 20aa043 commit 98a3f4f

File tree

3 files changed

+132
-37
lines changed

3 files changed

+132
-37
lines changed

package-lock.json

Lines changed: 128 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
"eslint-plugin-unicorn": "^41.0.0",
4545
"is-plain-obj": "^3.0.0",
4646
"jest": "^27.5.1",
47-
"npm-package-json-lint": "^5.4.2",
47+
"npm-package-json-lint": "^6.0.0",
4848
"prettier": "^2.5.1"
4949
},
5050
"peerDependencies": {
51-
"npm-package-json-lint": "^5.0.0"
51+
"npm-package-json-lint": "^6.0.0"
5252
},
5353
"engines": {
5454
"node": ">=14.0.0",

test/tests.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ describe('npm-package-json-lint config tests', () => {
1818
describe('run npm-package-json-lint and make sure it runs', () => {
1919
test('npm-package-json-lint should run without failing', () => {
2020
const packageJsonData = {
21-
author: 'Caitlin Snow'
21+
author: 'Caitlin Snow',
2222
};
2323
const npmPackageJsonLint = new NpmPackageJsonLint({
2424
packageJsonObject: packageJsonData,
2525
config,
26-
packageJsonFilePath: 'npm-package-json-lint-config-tc'
26+
packageJsonFilePath: 'npm-package-json-lint-config-tc',
2727
});
2828

2929
const output = npmPackageJsonLint.lint();

0 commit comments

Comments
 (0)