-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule: Exists #30
Comments
How you would solve this in your config? |
Would be cool to have something like
Pretty similar to how goss handles that
|
Yeah, thats what i also thought about 👍 |
just making sure, would this be the same thing as having "file structure validation", something like what: https://github.com/denisraslov/folderslint does? edit: also would it be possible to mark a directory as "doesn't accept new files"? like I sometimes want to do migrations in projects and mark some path as "legacy", so that people don't add new files there, while I can't yet move all old files to some new place |
I was just wondering if this feature is still on the table? This is exactly what I need to ensure some yarn files don't accidentally get removed. |
still on the table - prs are welcome! |
+1 |
For anyone interested. You can now use |
@ccoVeille |
Author opened the issue 4 years ago. I assumed he could wait a few more days/week. But you are right, it's not yet available or documented |
As far i can tell this is one of the most challenging tasks for me - its beautiful how wildcard extensions, selected files and exists working together magically |
This feature is now available in the The upcoming v2.3.0 blog post: https://ls-lint.org/blog/announcements/v2.3.0.html |
It would be cool if this would have a check to ensure that a directory/file exists!
The text was updated successfully, but these errors were encountered: