Skip to content

Commit

Permalink
docs: update README.md to fix cosmiconfig reference (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmeads authored Jul 11, 2024
1 parent ad53fde commit 28562ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/lockfile-lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ Lockfile-lint uses [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) f

- A "lockfile-lint" key in your package.json file.
- A .lockfile-lintrc file, written in JSON or YAML, with optional extensions: .json/.yaml/.yml (without extension takes precedence).
- A .lockfile-lint.js or lockfile-lint.config.js file that exports an object.
- A .lockfile-lint.toml file, written in TOML (the .toml extension is required).
- A .lockfile-lintrc.js or lockfile-lint.config.js file that exports an object.

The configuration file will be resolved starting from the current working directory, and searching up the file tree until a config file is (or isn't) found. Command-line options take precedence over any file-based configuration.

Expand Down

0 comments on commit 28562ef

Please sign in to comment.