Closed aleinin closed 4 months ago
For anyone interested. You can now use exists:0
as a rule. Please check the documentation
@ccoVeille v2.3.0
is not released yet - there is one single piece that is missing
Author opened the issue 5 months 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 v2.3.0-beta.1
release.
Please test it and let me know if there are any issues ❤️
The upcoming v2.3.0 blog post: https://ls-lint.org/blog/announcements/v2.3.0.html The docs: https://ls-lint.org/2.3/getting-started/introduction.html The release notes: https://github.com/loeffel-io/ls-lint/releases/tag/v2.3.0-beta.1
Hello, thank you for making ls-lint!
It would be nice to be able to block certain files. Here is my use case:
As you can see, I have a small blocklist where I'm using the regex rule to error on certain file types to enforce a particular usage. Honestly, this works quite well. But, it would be nice if there was a more natural way to go about this than misusing the regex rule.