From 174df40e3d6d8d581ef6d1dc1562cc66bfd8a68d Mon Sep 17 00:00:00 2001 From: Josh Meads <8870827+joshmeads@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:26:46 -0700 Subject: [PATCH 1/2] Update README.md Fix the cosmiconfig docs --- packages/lockfile-lint/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lockfile-lint/README.md b/packages/lockfile-lint/README.md index 1ee49fb..b1b2a8d 100644 --- a/packages/lockfile-lint/README.md +++ b/packages/lockfile-lint/README.md @@ -97,8 +97,8 @@ 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. +- A .lockfile-lintrc.toml file, written in TOML (the .toml extension is required). 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. From 547175b9d7bff1c4f156da482313dde9a69bfeb0 Mon Sep 17 00:00:00 2001 From: Josh Meads <8870827+joshmeads@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:35:28 -0700 Subject: [PATCH 2/2] Update README.md - remove toml --- packages/lockfile-lint/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/lockfile-lint/README.md b/packages/lockfile-lint/README.md index b1b2a8d..def04a7 100644 --- a/packages/lockfile-lint/README.md +++ b/packages/lockfile-lint/README.md @@ -98,7 +98,6 @@ 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-lintrc.js or lockfile-lint.config.js file that exports an object. -- A .lockfile-lintrc.toml file, written in TOML (the .toml extension is required). 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.