drizzle-team / drizzle-team/drizzle-orm

[DOCS]: eslint packages for drizzle recommended to be installed as dependencies, not dev dependencies

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

Description

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

0.33.0

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

_No response_

### Describe the Bug

It's not a bug, it's a tiny thing that could be improved in the documentation. In SvelteKit/Next.js projects (both client and server side), eslint and prettier are only `devDependencies`. Thus, they should be installed with the `-D` or `--save-deps` flag.

In the Drizzle docs here: https://orm.drizzle.team/docs/eslint-plugin it is recommended to run:

```
npm i eslint-plugin-drizzle
npm i @typescript-eslint/eslint-plugin @typescript-eslint/parser
```

and these packages should most likely be only development dependencies. It's an easy fix.

### Expected behavior

_No response_

### Environment & setup

_No response_

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.