gajus / gajus/eslint-plugin-sql
Add rule that would prevent inline column lists
Open
- Dominant language
- TypeScript
- Stars
- 113
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Things like:
```sql
UPDATE user_account SET display_username = ${networkContact.displayUsername} where display_email = ${networkContact.email}
```
and:
```sql
AS t(allowed boolean, first_seen_commit_hash text, hash text, last_seen_at timestamptz, query text)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name a file or test. Start by locating the existing SQL lint rule entry points and their tests in the repository, then determine how the two shown inline column-list forms are represented. Done means the new rule rejects both examples and the relevant rule tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, sql, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100