-
Notifications
You must be signed in to change notification settings - Fork 97
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: bump eslint to ^8.0.0 and all eslint-x dependencies #554
package.json: bump eslint to ^8.0.0 and all eslint-x dependencies #554
Conversation
So at to keep starter-kit as template project, let's fix here possible issues and then apply to external projects as rhinstaller/anaconda#4035 (comment) |
Fails to build in CentOS 8 stream:
... too old node.js? Let's fix that by not running eslint during RPM build -- it doesn't do anything good there, just waste time. |
It's useless there -- any style error that may happen there has already slipped through the upstream release, and at RPM build time there is nothing that can be done about it. It just wastes time. This allows us to bump eslint to a newer version which is incompatible with the older node.js on RHEL/CentOS 8.
So as to satisfy the new eslint peer dependency. In addition drop eslint-config-standard-react as it does not release anymore, and eslint 8.x is not compatible with the available last release. standard/eslint-config-standard-react#69 Replace it with https://github.com/facebook/create-react-app#readme which is actively maintained. Lastly drop the deprecated https://github.com/standard/eslint-plugin-standard
c44587c
to
3d490c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks! I was stumbling over this several times, in some naïve attempts to update to eslint 8. Glad to apply this to our other projects!
LGTM, but as I added a second commit this now needs to be reviewed by someone else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
So as to satisfy the new eslint peer dependency.
In addition drop eslint-config-standard-react as it does not release
anymore, and eslint 8.x is not compatible with the available last
release.
standard/eslint-config-standard-react#69
Replace it with https://github.com/facebook/create-react-app#readme
which is actively maintained.
Lastly drop the deprecated
https://github.com/standard/eslint-plugin-standard