Hi @loeffel-io, I am testing out the exists feature in 2.3.0-beta.1 (Darwin arm64). I want to make sure there exists a directory bar/ under every subdirectory in foo/.
The following passes the linter successfully, where instead I would expect an error.
.ls-lint.yml:
---
ls:
foo/*/bar:
.dir: exists
Filesystem (foo/example/bardoes not exist):
foo/
foo/example/
foo/example/baz/
The following returns an error (as expected):
.ls-lint.yml:
---
ls:
foo/example/bar:
.dir: exists
output:
foo/example/bar failed for `.dir` rules: exists:1-32767 (debug: 0)
Hi @loeffel-io, I am testing out the
exists
feature in 2.3.0-beta.1 (Darwin arm64). I want to make sure there exists a directorybar/
under every subdirectory infoo/
.The following passes the linter successfully, where instead I would expect an error.
.ls-lint.yml:
Filesystem (
foo/example/bar
does not exist):The following returns an error (as expected):
.ls-lint.yml:
output: