From 1b52bfcefc4d3affa47a3c914bb9a1f21a87b42d Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 12:23:39 +0000 Subject: [PATCH 1/4] docs: bracket positional `dir` argument in `_tools/lint/pkg-json` usage strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligns `pkg-json/docs/usage.txt` and `pkg-json/README.md` with the `_tools/lint` namespace convention: - Wraps the positional `dir` metavar in angle brackets (`[]`) in the CLI Usage line — 7 of 9 sibling packages use the angle-bracketed form. - Drops the trailing blank line at EOF of `docs/usage.txt` — 7 of 9 siblings terminate the file with a single newline. The `bin/cli` reads `docs/usage.txt` verbatim as its `--help` output, and `test/test.cli.js` compares stderr against the file contents symmetrically, so no test expectations change. --- lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md | 2 +- lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md b/lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md index e44edcc12f95..270c2635d0b0 100644 --- a/lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md +++ b/lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md @@ -185,7 +185,7 @@ function done( error, errs ) { ### Usage ```text -Usage: lint-pkg-json [options] [dir] +Usage: lint-pkg-json [options] [] Options: diff --git a/lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt b/lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt index 0c9803532ebb..b711829ce47a 100644 --- a/lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt +++ b/lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt @@ -1,5 +1,5 @@ -Usage: lint-pkg-json [options] [dir] +Usage: lint-pkg-json [options] [] Options: @@ -9,4 +9,3 @@ Options: --ignore pattern Exclusion glob pattern. --format format Output format: ndjson, pretty. --split sep Separator used to split stdin data. Default: /\\r?\\n/. - From c87c611e34a9e99d80fdfe4cf0ef4fe5f288e345 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 12:23:45 +0000 Subject: [PATCH 2/4] docs: bracket positional `dir` argument in `_tools/lint/repl-txt` usage strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligns `repl-txt/docs/usage.txt` and `repl-txt/README.md` with the `_tools/lint` namespace convention: - Wraps the positional `dir` metavar in angle brackets (`[]`) in the CLI Usage line — 7 of 9 sibling packages use the angle-bracketed form. - Drops the trailing blank line at EOF of `docs/usage.txt` — 7 of 9 siblings terminate the file with a single newline. The `bin/cli` reads `docs/usage.txt` verbatim as its `--help` output, and `test/test.cli.js` compares stderr against the file contents symmetrically, so no test expectations change. --- lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md | 2 +- lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md b/lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md index 572134fff336..7f09c672cdcd 100644 --- a/lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md +++ b/lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md @@ -191,7 +191,7 @@ function done( error, errs ) { ### Usage ```text -Usage: lint-repl-txt [options] [dir] +Usage: lint-repl-txt [options] [] Options: diff --git a/lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt b/lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt index ff8e7fbec8b5..a66c2333726e 100644 --- a/lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt +++ b/lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt @@ -1,5 +1,5 @@ -Usage: lint-repl-txt [options] [dir] +Usage: lint-repl-txt [options] [] Options: @@ -9,4 +9,3 @@ Options: --ignore pattern Exclusion glob pattern. --format format Output format: ndjson, pretty. --split sep Separator used to split stdin data. Default: /\\r?\\n/. - From ae61c3703cca79040a5320779ae98493ee2076e8 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 12:37:20 +0000 Subject: [PATCH 3/4] docs: normalize `--option` indent in `_tools/lint/pkg-json` usage strings Reduces the leading indent on `--option` lines in `docs/usage.txt` and the mirrored `text` code block in `README.md` from 9 spaces to 8 spaces (matching sibling `_tools/lint/pkg-json-names` and the `[usage.txt] indent_size = 2` rule in the root `.editorconfig`). The `-h,`/`-V,` short-option rows are shortened by one intra-line space so `--help` and `--version` continue to align vertically with `--pattern` and friends. Pre-existing lint debt surfaced only after this PR touched the two files; no CLI behavior changes. --- .../@stdlib/_tools/lint/pkg-json/README.md | 12 ++++++------ .../@stdlib/_tools/lint/pkg-json/docs/usage.txt | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md b/lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md index 270c2635d0b0..d8ef7ab4b586 100644 --- a/lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md +++ b/lib/node_modules/@stdlib/_tools/lint/pkg-json/README.md @@ -189,12 +189,12 @@ Usage: lint-pkg-json [options] [] Options: - -h, --help Print this message. - -V, --version Print the package version. - --pattern pattern Inclusion glob pattern. - --ignore pattern Exclusion glob pattern. - --format format Output format: ndjson, pretty. - --split sep Separator used to split stdin data. Default: /\\r?\\n/. + -h, --help Print this message. + -V, --version Print the package version. + --pattern pattern Inclusion glob pattern. + --ignore pattern Exclusion glob pattern. + --format format Output format: ndjson, pretty. + --split sep Separator used to split stdin data. Default: /\\r?\\n/. ``` diff --git a/lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt b/lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt index b711829ce47a..5cae3e71c4ff 100644 --- a/lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt +++ b/lib/node_modules/@stdlib/_tools/lint/pkg-json/docs/usage.txt @@ -3,9 +3,9 @@ Usage: lint-pkg-json [options] [] Options: - -h, --help Print this message. - -V, --version Print the package version. - --pattern pattern Inclusion glob pattern. - --ignore pattern Exclusion glob pattern. - --format format Output format: ndjson, pretty. - --split sep Separator used to split stdin data. Default: /\\r?\\n/. + -h, --help Print this message. + -V, --version Print the package version. + --pattern pattern Inclusion glob pattern. + --ignore pattern Exclusion glob pattern. + --format format Output format: ndjson, pretty. + --split sep Separator used to split stdin data. Default: /\\r?\\n/. From 4f8ce72727794395635b2be18298c0adb67b09f7 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 12:37:27 +0000 Subject: [PATCH 4/4] docs: normalize `--option` indent in `_tools/lint/repl-txt` usage strings Reduces the leading indent on `--option` lines in `docs/usage.txt` and the mirrored `text` code block in `README.md` from 9 spaces to 8 spaces (matching sibling `_tools/lint/pkg-json-names` and the `[usage.txt] indent_size = 2` rule in the root `.editorconfig`). The `-h,`/`-V,` short-option rows are shortened by one intra-line space so `--help` and `--version` continue to align vertically with `--pattern` and friends. Pre-existing lint debt surfaced only after this PR touched the two files; no CLI behavior changes. --- .../@stdlib/_tools/lint/repl-txt/README.md | 12 ++++++------ .../@stdlib/_tools/lint/repl-txt/docs/usage.txt | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md b/lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md index 7f09c672cdcd..4758936caf79 100644 --- a/lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md +++ b/lib/node_modules/@stdlib/_tools/lint/repl-txt/README.md @@ -195,12 +195,12 @@ Usage: lint-repl-txt [options] [] Options: - -h, --help Print this message. - -V, --version Print the package version. - --pattern pattern Inclusion glob pattern. - --ignore pattern Exclusion glob pattern. - --format format Output format: ndjson, pretty. - --split sep Separator used to split stdin data. Default: /\\r?\\n/. + -h, --help Print this message. + -V, --version Print the package version. + --pattern pattern Inclusion glob pattern. + --ignore pattern Exclusion glob pattern. + --format format Output format: ndjson, pretty. + --split sep Separator used to split stdin data. Default: /\\r?\\n/. ``` diff --git a/lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt b/lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt index a66c2333726e..a490b8a85693 100644 --- a/lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt +++ b/lib/node_modules/@stdlib/_tools/lint/repl-txt/docs/usage.txt @@ -3,9 +3,9 @@ Usage: lint-repl-txt [options] [] Options: - -h, --help Print this message. - -V, --version Print the package version. - --pattern pattern Inclusion glob pattern. - --ignore pattern Exclusion glob pattern. - --format format Output format: ndjson, pretty. - --split sep Separator used to split stdin data. Default: /\\r?\\n/. + -h, --help Print this message. + -V, --version Print the package version. + --pattern pattern Inclusion glob pattern. + --ignore pattern Exclusion glob pattern. + --format format Output format: ndjson, pretty. + --split sep Separator used to split stdin data. Default: /\\r?\\n/.