Skip to content

Commit

Permalink
Update configuration.md (#774)
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Kappert <[email protected]>
  • Loading branch information
Zamiell and webpro authored Sep 9, 2024
1 parent 7973b17 commit 39d473a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/docs/src/content/docs/overview/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ configuration file. Please also read [configure project files][1].

## Location

This is where Knip looks for a configuration file:
By default, Knip will look for a configuration file with the following names:

- `knip.json`
- `knip.jsonc`
Expand All @@ -40,9 +40,9 @@ This is where Knip looks for a configuration file:
- `knip.js`
- `knip.config.ts`
- `knip.config.js`
- `"knip"` property in `package.json`
- `package.json` (in the `"knip"` property)

To use a different file path:
If you want to use a custom file name or path, use the `--config` flag:

```sh
knip --config path/to/knip.json
Expand Down

0 comments on commit 39d473a

Please sign in to comment.