You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: