Skip to content

Commit

Permalink
npm-package-json-lint v6 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
tclindner authored Mar 6, 2022
1 parent 7f78bf4 commit 5c09aee
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 41 deletions.
163 changes: 126 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
"eslint-plugin-unicorn": "^41.0.0",
"is-plain-obj": "^3.0.0",
"jest": "^27.5.1",
"npm-package-json-lint": "^5.4.2",
"npm-package-json-lint": "^6.0.0",
"prettier": "^2.5.1"
},
"peerDependencies": {
"npm-package-json-lint": "^5.0.0"
"npm-package-json-lint": "^6.0.0"
},
"engines": {
"node": ">=14.0.0",
Expand Down
4 changes: 2 additions & 2 deletions test/tests.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ describe('npm-package-json-lint config tests', () => {
describe('run npm-package-json-lint and make sure it runs', () => {
test('npm-package-json-lint should run without failing', () => {
const packageJsonData = {
author: 'Caitlin Snow'
author: 'Caitlin Snow',
};
const npmPackageJsonLint = new NpmPackageJsonLint({
packageJsonObject: packageJsonData,
config,
packageJsonFilePath: 'npm-package-json-lint-config-tc'
packageJsonFilePath: 'npm-package-json-lint-config-tc',
});

const output = npmPackageJsonLint.lint();
Expand Down

0 comments on commit 5c09aee

Please sign in to comment.