Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verbosity is only applied if checks are running for that query #224

Open
joereynolds opened this issue Jun 22, 2022 · 0 comments
Open

verbosity is only applied if checks are running for that query #224

joereynolds opened this issue Jun 22, 2022 · 0 comments

Comments

@joereynolds
Copy link
Owner

Bit of a niche case but I thought I'd point it out nonetheless.

When doing sql-lint -vv (or any verbose option) it will only output the verbose output if there are checks for that query.

i.e. If we are running

echo 'DELETE; ' | sql-lint -vv

and we are ignoring all DELETE based checks in our config, then the verbose output will not display (because it's related to the check).

Sometimes though, we'd like to see the verbose output regardless of if there's checks for that query or not. For instance, to debug a query's tokenisation/category etc...

Not urgent at all but thought I'd bring it to light.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant