Skip to content

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

Open
@00jacs

Description

@00jacs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentationdocs/improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions