Skip to content

Conversation

@mdjermanovic
Copy link
Member

Upgrades to latest eslint v9, and latest eslint-config-eslint v11 (which is now possible since the bot runs in Node 22 where new syntax and language features that config enforces are available).

Comment on lines -14 to -16

// Remove after https://github.com/eslint/eslint/pull/17900 is included in new release
"jsdoc/no-multi-asterisks": ["error", { allowWhitespace: true }]
Copy link
Member Author

Choose a reason for hiding this comment

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

This is how this rule is now configured in eslint-config-eslint, so no need to override.

https://github.com/eslint/eslint/blob/362099c580992b2602316fc417ce3e595b96f28c/packages/eslint-config-eslint/base.js#L224

Comment on lines -34 to -41
"n/no-extraneous-require": [
"error",
{
allowModules: [
"@octokit/rest"
]
}
]
Copy link
Member Author

Choose a reason for hiding this comment

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

We're not using @octokit/rest in tests anymore, so there's no need to override the config for this rule.

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@nzakas nzakas merged commit f5e74ea into main Jan 20, 2025
5 checks passed
@nzakas nzakas deleted the eslint9 branch January 20, 2025 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants