drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Lint rule for invalid queries

Open
#1,695 3 comments 1 reaction 0 assignees View on GitHub
drizzle/eslint enhancement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

If I make a query like this:
```ts
await db.delete(users).where(eq(posts.id, id));
```
there should be some sort of lint check that tells me that this makes no sense.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.