-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package.json for eslint-config-react-app on NPM is incorrect #8998
Comments
Just noticed the Confusing and annoying. 🤷♂️😕 |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
As far as I know, it's still an issue, stale bot. |
I just came with the same issue while trying to create a React App with
Steps to reproduce:
|
Still an issue. And seems to be "worse" too. The whole From GitHub repo: {
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"babel-eslint": "^10.0.0",
"eslint": "^7.0.0",
"eslint-plugin-flowtype": "^5.0.0",
"eslint-plugin-import": "^2.21.1",
"eslint-plugin-jsx-a11y": "^6.3.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.1"
},
} From NPM via {
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "2.x",
"@typescript-eslint/parser": "2.x",
"babel-eslint": "10.x",
"eslint": "6.x",
"eslint-plugin-flowtype": "3.x || 4.x",
"eslint-plugin-import": "2.x",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-react": "7.x",
"eslint-plugin-react-hooks": "1.x || 2.x"
},
} |
I really hope we'll see a new npm publish in a reasonable time. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
Dear mr. Stale This projects has not had any new releases since march, so this issue has not been fixed. Please do not close until it has been. Humbly, |
Thank you, most gracious mr. Stale. |
I'm having the same issue right now trying to self-host a bot... not sure what's causing it. |
Still a problem. |
1 similar comment
Still a problem. |
This is why my plugins are not getting loaded in my eslintrc. Still not stale. |
This is still an issue for me too. |
This is still an issue: |
This should be resolved in the latest version. |
Describe the bug
The
package.json
file foreslint-config-react-app
differs between NPM and Git for one peer dependency:"eslint-plugin-react-hooks": "1.x || 2.x || 3.x || 4.x"
"eslint-plugin-react-hooks": "1.x || 2.x"
Both has
"version": "5.2.1"
, and everything else matches, except for this one peer dependency. 😕Steps to reproduce
✔
"version": "5.2.1"
✔
"eslint-plugin-react-hooks": "1.x || 2.x || 3.x || 4.x"
npm pack eslint-config-react-app
package.json
within the downloadedtgz
package:✔
"version": "5.2.1"
❌
"eslint-plugin-react-hooks": "1.x || 2.x"
Expected behavior
Would expect the acceptable versions of
"eslint-plugin-react-hooks"
to be the same in both places.Actual behavior
Acceptable versions do not match. Means npm gives me a warning when I try to upgrade
eslint-plugin-react-hooks
to its latest version,4.x
:The text was updated successfully, but these errors were encountered: