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

refactor: switch to eslint v9, eslint-config-eslint v11 #217

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

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.

1 participant