loeffel-io / ls-lint

An extremely fast directory and filename linter - Bring some structure to your project filesystem
https://ls-lint.org
MIT License
1.74k stars 32 forks source link

Ignore using .gitignore #86

Open dror-weiss opened 1 year ago

dror-weiss commented 1 year ago

Hello,

I was wondering if this program can run on files that are included in the repository, and not ignored by git. For example, the .gitignore in my project's root already ignores all instances of node_modules, in the root and subdirectories.

Maybe you can leverage this solution using git itself.

pereorga commented 2 months ago

IMHO, this shouldn't be enabled by default, as that would break backward compatibility