gajus / gajus/eslint-plugin-flowtype

Should `@babel/plugin-syntax-jsx` be a prod dependency instead of a peer dependency?

Open
#516 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
151
PR merge metrics
No merged PRs in 30d

Description

Following #513 `@babel/plugin-syntax-jsx` is used. However in my project it's currently not installed, and as a result I get errors like:
```
0:0 error Parsing error: Cannot find module '@babel/plugin-syntax-jsx'
```

I wonder why it's a peer dependency instead of a prod dependency?

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.