Skip to content
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

Update to ESLint v8 #778

Merged
merged 1 commit into from
Apr 22, 2022
Merged

Update to ESLint v8 #778

merged 1 commit into from
Apr 22, 2022

Conversation

kylelaker-ccpo
Copy link
Contributor

This closes out the remaining outdated packages that we continue to be
notified about. Currently, we keep seeing Dependabot trying to update
eslint-plugin-promise to v6 but that adds/requires ESLint 8 support.
Unfortunately, eslint-config-standard v16 does not support ESLint and
will not support it until v17. It seems that v17 is ready for release
but they're holding off until external packages that they test
compatibility with are "working" with v17. Frankly, I don't think any of
the things holding those packages back are holding us back. There is
a pre-release version of eslint-config-standard v17 that we can adopt
today and start using to unblock other dependency updates.

We run the lint as part of every PR, so if there's a significant issue
with linting or building, we'll catch it quickly.

@kylelaker-ccpo
Copy link
Contributor Author

See standard/eslint-config-standard#208 for the tracking issue for eslint-config-standard v17.

@kylelaker-ccpo
Copy link
Contributor Author

...Fascinating because an npm run lint worked locally...

@kylelaker-ccpo kylelaker-ccpo marked this pull request as draft April 14, 2022 21:20
@kylelaker-ccpo
Copy link
Contributor Author

That's a different error at least

@kylelaker-ccpo kylelaker-ccpo force-pushed the feature/dep-updates branch 2 times, most recently from a19ec08 to 01285f5 Compare April 22, 2022 14:03
This closes out the remaining outdated packages that we continue to be
notified about. Currently, we keep seeing Dependabot trying to update
`eslint-plugin-promise` to v6 but that adds/requires ESLint 8 support.
Unfortunately, `eslint-config-standard` v16 does not support ESLint and
will not support it until v17. It seems that v17 is ready for release
but they're holding off until external packages that they test
compatibility with are "working" with v17. Frankly, I don't think any of
the things holding those packages back are holding us back. There is
a pre-release version of `eslint-config-standard` v17 that we can adopt
today and start using to unblock other dependency updates.

We run the lint as part of every PR, so if there's a significant issue
with linting or building, we'll catch it quickly.
@kylelaker-ccpo
Copy link
Contributor Author

Ahh there we go! I should have read the CHANGELOG. eslint-plugin-node needs to be replaced with eslint-plugin-n.

@kylelaker-ccpo kylelaker-ccpo marked this pull request as ready for review April 22, 2022 14:12
@kylelaker-ccpo
Copy link
Contributor Author

Since starting this PR, a production release of Standard v17 was created.

@kylelaker-ccpo kylelaker-ccpo requested a review from a team April 22, 2022 14:12
@sonarcloud
Copy link

sonarcloud bot commented Apr 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@zachclark-ccpo zachclark-ccpo merged commit b49df64 into develop Apr 22, 2022
@zachclark-ccpo zachclark-ccpo deleted the feature/dep-updates branch April 22, 2022 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants