Is there a way to run sql-lint on a bunch of files? All examples show how to run sql-lint on one file only (sql-lint -f ). Thanks!
Is there a way to run sql-lint on a bunch of files? All examples show how to run sql-lint on one file only (sql-lint -f ). Thanks!
Author of sql-lint here. There's some upcoming work to make it recurse down and lint every SQL file. In the meantime you can use this:
find . -iname "*.sql" | xargs -L1 sql-lint -f
Hope that helps!