react-email icon indicating copy to clipboard operation
react-email copied to clipboard

Eslint dependencies should be dev dependencies

Open checkerschaf opened this issue 1 year ago • 0 comments

Describe the Bug

I think eslint packages should be a dev dependency so that they do not get installed if the user does not use eslint as a linter.

Link to the package.json: https://github.com/resend/react-email/blob/be72c02d1fd95bcb6ddfa656bacbd86b8dc06df2/packages/react-email/package.json#L51-L52

Which package is affected (leave empty if unsure)

react-email

Link to the code that reproduces this issue

https://github.com/resend/react-email/blob/be72c02d1fd95bcb6ddfa656bacbd86b8dc06df2/packages/react-email/package.json#L51-L52

To Reproduce

Install the react-email in a repository without eslint as a peer-dependency.

Expected Behavior

No eslint packages should be installed in the package-lock.json file.

What's your node version? (if relevant)

No response

checkerschaf avatar Mar 29 '24 12:03 checkerschaf