-
Notifications
You must be signed in to change notification settings - Fork 247
chore(eslint-config): update eslint to 8 #6942
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
Conversation
98350eb to
7effe5d
Compare
829fb02 to
aa9b731
Compare
aa9b731 to
8013236
Compare
| - name: Bump eslint | ||
| run: | | ||
| npm i --save eslint@8 -w @mongodb-js/eslint-config-compass |
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.
I'll add more related packages here after I'm done updating them, for now it's only eslint that we can autoupdate
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.
eslint bump caused a bunch of related minor / patch bumps with it, hence the high LoC change here
| } | ||
| if (this.isSharded) { | ||
| for (const shard of this.executionStats?.executionStages?.shards) { | ||
| for (const shard of this.executionStats?.executionStages?.shards ?? []) { |
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.
The only potential bug that got spotted by that change (good catch though)
.github/workflows/update-eslint.yaml
Outdated
| @@ -0,0 +1,53 @@ | |||
| name: Update electron | |||
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.
| name: Update electron | |
| name: Update eslint |
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.
TY! Fixed
.github/workflows/update-eslint.yaml
Outdated
| with: | ||
| token: ${{ steps.app-token.outputs.token }} | ||
| commit-message: 'chore(deps): update eslint' | ||
| branch: ci/update-electron |
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.
this should also be different?
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.
Yep, thanks for spotting!
…integration can resolve them
I'm splitting #6833 into smaller, separately mergeable parts. This one only updates eslint to 8 (prereq for bumping tslint and rulesets) the fixes the only check that this affected