Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

@gribnoysup gribnoysup commented May 21, 2025

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

@gribnoysup gribnoysup force-pushed the update-eslint-to-eight branch from 98350eb to 7effe5d Compare May 21, 2025 16:15
@gribnoysup gribnoysup marked this pull request as draft May 21, 2025 16:17
@gribnoysup gribnoysup force-pushed the update-eslint-to-eight branch 2 times, most recently from 829fb02 to aa9b731 Compare May 21, 2025 16:44
@gribnoysup gribnoysup force-pushed the update-eslint-to-eight branch from aa9b731 to 8013236 Compare May 22, 2025 07:25
@gribnoysup gribnoysup added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label May 22, 2025
@gribnoysup gribnoysup marked this pull request as ready for review May 22, 2025 08:59
- name: Bump eslint
run: |
npm i --save eslint@8 -w @mongodb-js/eslint-config-compass
Copy link
Collaborator Author

@gribnoysup gribnoysup May 22, 2025

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

Copy link
Collaborator Author

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 ?? []) {
Copy link
Collaborator Author

@gribnoysup gribnoysup May 22, 2025

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)

@@ -0,0 +1,53 @@
name: Update electron
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name: Update electron
name: Update eslint

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TY! Fixed

with:
token: ${{ steps.app-token.outputs.token }}
commit-message: 'chore(deps): update eslint'
branch: ci/update-electron
Copy link
Collaborator

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, thanks for spotting!

@gribnoysup gribnoysup merged commit e8841b2 into main May 23, 2025
48 of 55 checks passed
@gribnoysup gribnoysup deleted the update-eslint-to-eight branch May 23, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants