Skip to content

Commit

Permalink
docs: fix spelling of set and add config options (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
2239559319 authored Jun 23, 2023
1 parent 2113243 commit 144ba33
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/cli/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,15 @@ Show all the config settings.

### --global, -g

See the configuration in the global config file.
Set the configuration in the global config file.

### --location

When set to `project`, the `.npmrc` file at the nearest `package.json` will be used.

When set to `global`, the performance is the same as setting the `--global` option.

## --json

Show all the config settings in JSON format.

0 comments on commit 144ba33

Please sign in to comment.