File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1+ /** @see https://github.com/lirantal/lockfile-lint/tree/main/packages/lockfile-lint#file-based-configuration */
2+ module . exports = {
3+ type : "npm" ,
4+ path : "package-lock.json" ,
5+ allowedHosts : "npm" ,
6+ validateHttps : true ,
7+ validateIntegrity : false ,
8+ validatePackageNames : true ,
9+ allowedPackageNameAliases : [
10+ "string-width-cjs:string-width" ,
11+ "strip-ansi-cjs: strip-ansi" ,
12+ "wrap-ansi-cjs:wrap-ansi" ,
13+ ] ,
14+ } ;
Original file line number Diff line number Diff line change 3333 "lint:quiet" : " npm run lint -- --quiet" ,
3434 "lint:css" : " stylelint '**/*.+(ts|tsx)'" ,
3535 "lint:css:quiet" : " npm run lint:css -- --quiet" ,
36- "lint:lockfile" : " lockfile-lint --type npm --path package-lock.json --allowed-hosts npm --validate-https " ,
36+ "lint:lockfile" : " lockfile-lint" ,
3737 "validate:all" : " npm-run-all --parallel check:types check:format check:knip lint:quiet lint:css:quiet lint:lockfile test:all" ,
3838 "postinstall" : " patch-package" ,
3939 "prepare" : " husky install"
You can’t perform that action at this time.
0 commit comments