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

fix: update @typescript-eslint/experimental-utils to v5 #941

Merged
merged 1 commit into from Oct 11, 2021
Merged

Conversation

SimenB
Copy link
Member

@SimenB SimenB commented Oct 11, 2021

This should enable compat with eslint@8 even if we can't test against it (thus add it to peerDependencies) yet

@SimenB SimenB requested a review from G-Rath October 11, 2021 20:06
@@ -681,7 +681,7 @@ const isTestCaseName = (node: TSESTree.LeftHandSideExpression) =>
TestCaseName.hasOwnProperty(node.name);

const isTestCaseProperty = (
node: TSESTree.Expression,
node: TSESTree.Expression | TSESTree.PrivateIdentifier,
Copy link
Member Author

Choose a reason for hiding this comment

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

not sure if this is correct, but seems safe enough? 😀

Copy link
Collaborator

Choose a reason for hiding this comment

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

hahah yeah I think it should be fine just technically incorrect/nonsensical as a private identifier will never be what we want; but if CI is happy let's ship it 🎉

Copy link
Collaborator

Choose a reason for hiding this comment

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

tbh actually thinking about it probably is actually fine because if we're got a node that could be one of those types, it'll be nicer on our rules to handle it here rather than having to check in each rule before calling this method 🤷

@@ -681,7 +681,7 @@ const isTestCaseName = (node: TSESTree.LeftHandSideExpression) =>
TestCaseName.hasOwnProperty(node.name);

const isTestCaseProperty = (
node: TSESTree.Expression,
node: TSESTree.Expression | TSESTree.PrivateIdentifier,
Copy link
Collaborator

Choose a reason for hiding this comment

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

hahah yeah I think it should be fine just technically incorrect/nonsensical as a private identifier will never be what we want; but if CI is happy let's ship it 🎉

@SimenB SimenB merged commit afad49a into main Oct 11, 2021
@SimenB SimenB deleted the up-utils branch October 11, 2021 20:15
github-actions bot pushed a commit that referenced this pull request Oct 11, 2021
## [25.0.4](v25.0.3...v25.0.4) (2021-10-11)

### Bug Fixes

* update `@typescript-eslint/experimental-utils` to v5 ([#941](#941)) ([afad49a](afad49a))
@github-actions
Copy link

🎉 This PR is included in version 25.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

None yet

2 participants