joereynolds / joereynolds/sql-lint
unmatched-parentheses should ignore tokens inside strings
Open
- Dominant language
- TypeScript
- Stars
- 459
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
Hello 👋
Currently the `unmatched-parentheses` check uses a pair of regexes that aren't aware of quoted strings:
```
❯ echo 'INSERT INTO t (a) VALUES ("(((");' | ./node_modules/.bin/sql-lint
stdin:1 [sql-lint: unmatched-parentheses] Unmatched parentheses.
❯ ./node_modules/.bin/sql-lint --version
0.0.19
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.