Skip to content

Commit

Permalink
docs: update README with new CLI flag for package name aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Aug 1, 2023
1 parent 47fc5aa commit 75c26c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lockfile-lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ lockfile-lint --path yarn.lock --allowed-hosts yarn --allowed-urls https://githu
| `--allowed-urls`, `-u` | allowed URLs (e.g. `https://github.com/some-org/some-repo#some-hash`) ||
| `--empty-hostname`, `-e` | allow empty hostnames, or set to false if you wish for a stricter policy ||
| `--validate-package-names`, `-n` | validates that the resolved URL matches the package name ||
| `--validate-checksum`, `-c` | check that all resources include a checksum | ❌ PRs welcome |
| `--validate-integrity`, `-i` | validates the integrity field is a sha512 hash ||
| `--allowed-package-name-aliases`, `-l` | allow package name aliases to be used by specifying package name and their alias as pairs (e.g: `string-width-cjs:string-width`) ||

# File-Based Configuration

Expand Down

0 comments on commit 75c26c1

Please sign in to comment.