drizzle-team / drizzle-team/drizzle-orm

[BUG]: Wrong detection with ESLint Plugin

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

Description

### Report hasn't been filed before.

- [X] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

Not related

### What version of `drizzle-kit` are you using?

Not related

### Other packages

_No response_

### Describe the Bug

ESLint plugin has wrong detection

![image](https://github.com/user-attachments/assets/aeefe81f-6959-44fb-b795-fc1d27858be5)

Actually, the `env.FILE_PUBLIC_KEY` is a `KVNamespace` of Clouflare

![Screenshot 2024-12-17 at 09 14 47](https://github.com/user-attachments/assets/32d31a24-fe70-4b94-b8ff-796820437697)

![Screenshot 2024-12-17 at 09 16 13](https://github.com/user-attachments/assets/a7bcd853-75a2-498b-aacb-55ae78036008)

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.