joereynolds / joereynolds/sql-lint

verbosity is only applied if checks are running for that query

Open
#224 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
459
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.