From 28562ef002f829b5fe1b5cb3bb169218755e29ab Mon Sep 17 00:00:00 2001 From: Josh Meads <8870827+joshmeads@users.noreply.github.com> Date: Thu, 11 Jul 2024 02:33:23 -0700 Subject: [PATCH] docs: update README.md to fix cosmiconfig reference (#200) --- packages/lockfile-lint/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/lockfile-lint/README.md b/packages/lockfile-lint/README.md index 1ee49fb..def04a7 100644 --- a/packages/lockfile-lint/README.md +++ b/packages/lockfile-lint/README.md @@ -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.