Peter Stenger

Results 137 issues of Peter Stenger

# Description Follow up to #12621 . This removes all dead code that knip could detect. For choice cases, we are using `@lintignore` or fully ignoring the file instead of...

tooling
schema

# Details Adds [knip](https://knip.dev/), which is a tool for checking for dead code (unused packages / exports). This PR aims to just install it, a fast-follow will actually trim out...

docker
github_actions
tooling
schema
low-priority

### Search before asking - [x] I searched the [issues](https://github.com/sqlfluff/sqlfluff/issues) and found no similar issues. ### What Happened Similar to #7234, `aliasing.unused` doesn't consider wildcards being passed to functions. ```...

bug

### Search before asking - [x] I searched the [issues](https://github.com/sqlfluff/sqlfluff/issues) and found no similar issues. ### What Happened Similar to #6511 , the `structure.unused_join` seems to incorrectly flag in certain...

bug

It would be excellent if there was some way for `libpg_query` to support custom operators. For example, providing some way to update the 'internal lexer', by passing in SQL expressions...

If you add an ignore that isn't needed, I would expect that to raise a warning.

enhancement

Resolves #69 - First hash is used if no top-level one found - Injects into existing pages if needed I won't claim this is the cleanest implementation, but it works!...