diff --git a/.changeset/conditional-lint-generator-inventory.md b/.changeset/conditional-lint-generator-inventory.md new file mode 100644 index 00000000..c3237da5 --- /dev/null +++ b/.changeset/conditional-lint-generator-inventory.md @@ -0,0 +1,5 @@ +--- +"@stll/oxlint-config": patch +--- + +Track the working directory through bounded conditional Bun generator preparation and inventory the generator's possible nested lint scopes without executing shell conditions. diff --git a/packages/oxlint-config/README.md b/packages/oxlint-config/README.md index cb36f31c..fb2d6803 100644 --- a/packages/oxlint-config/README.md +++ b/packages/oxlint-config/README.md @@ -1267,6 +1267,6 @@ Repositories with a tested staged-path selector can declare its contract explici The script must be tracked, regular and readable without symlinks. The pre-commit command must use exactly `files: bun scripts/precommit-paths.ts` with `run: bun fmt --staged --ignore-unknown {files}` (the `--ignore-unknown` flag is optional), without an additional `glob`, `exclude`, `skip` or `root`. The declaration records repository ownership of the selector's semantics; static inspection does not prove that its output includes every staged path. Keep behavioral tests with that owner. CI still requires a whole-repository `bun fmt --check` without path operands. -Lint inventory follows literal `cd && ...` changes only within declared workspace directories. Literal `bun --cwd= run