quick-lint / quick-lint-js

quick-lint-js finds bugs in JavaScript programs
https://quick-lint-js.com
GNU General Public License v3.0
1.52k stars 192 forks source link

feature request(cli): lint directories #1167

Closed vegerot closed 8 months ago

vegerot commented 8 months ago

Problem: I want to run quick-lint on a large project (120k files, 6m SLoC).

Approaches tried:

Recommendation: quick-lint's CLI should also accept a directory. quick-lint will recursively find all appropriate files (.js, .ts, etc.) and lint them.

$ quick-lint-js .

Out of scope: Respect .gitignore files. This is actually a requirement for my use-case because I don't want to lint node_modules/, dist/, and a bunch of hidden caches my build system creates. This is also the default behavior of fd.

vegerot commented 8 months ago

note: #1166 is an alternative solution

strager commented 8 months ago

Duplicate of #221