Skip to content

Commit

Permalink
chore(lockfile-lint): extract config to the rc file
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Nov 13, 2024
1 parent e024ae9 commit 2af8772
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .lockfile-lintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"path": "package-lock.json",
"type": "npm",
"validate-https": true,
"allowed-hosts": [
"npm"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"lint:js": "eslint . --cache",
"lint:gherkin": "gherkin-lint",
"lint:md": "remark --quiet . --frail",
"lint:lockfile": "lockfile-lint --path package-lock.json --type npm --validate-https --allowed-hosts npm",
"lint:lockfile": "lockfile-lint",
"lint:engines": "ls-engines",
"lint:peer": "npm ls >/dev/null",
"lint:publish": "publint --strict",
Expand Down

0 comments on commit 2af8772

Please sign in to comment.