Skip to content

Commit 2af8772

Browse files
committed
chore(lockfile-lint): extract config to the rc file
1 parent e024ae9 commit 2af8772

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.lockfile-lintrc.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"path": "package-lock.json",
3+
"type": "npm",
4+
"validate-https": true,
5+
"allowed-hosts": [
6+
"npm"
7+
]
8+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint:js": "eslint . --cache",
2525
"lint:gherkin": "gherkin-lint",
2626
"lint:md": "remark --quiet . --frail",
27-
"lint:lockfile": "lockfile-lint --path package-lock.json --type npm --validate-https --allowed-hosts npm",
27+
"lint:lockfile": "lockfile-lint",
2828
"lint:engines": "ls-engines",
2929
"lint:peer": "npm ls >/dev/null",
3030
"lint:publish": "publint --strict",

0 commit comments

Comments
 (0)