thibaudcolas / curlylint

Experimental HTML templates linting for Jinja, Nunjucks, Django templates, Twig, Liquid
https://www.curlylint.org/
MIT License
237 stars 25 forks source link

Exclude folders/files from linting #87

Closed jkevingutierrez closed 2 years ago

jkevingutierrez commented 2 years ago

Is your proposal related to a problem?

It would be great to have the ability to exclude some folders/files. For example, being able to run something like

python3 -m curlylint . --exclude some_folder

Describe the solution you’d like

Add an option exclude that will remove folders/files from the linter

Describe alternatives you’ve considered

(Write your answer here.)

Additional context

(Write your answer here.)

thibaudcolas commented 2 years ago

Hi @jkevingutierrez, this looks a lot like the existing --exclude. Have you tried that first?