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: use range instead of start/end properties #221

Merged
merged 1 commit into from Feb 1, 2019

Conversation

armano2
Copy link
Contributor

@armano2 armano2 commented Jan 31, 2019

This PR replaces usage of non standard fields start, end with range.

Properties start, end should not be used (they may be removed in feature)

currently those rules are crashing because of that if you decide to use (@typescript-eslint/parser)

see: https://eslint.org/docs/developer-guide/working-with-custom-parsers#all-nodes

fixes: typescript-eslint/typescript-eslint#175

Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

Thanks!

This seems like something that should be part of https://www.npmjs.com/package/eslint-plugin-eslint-plugin, so we don't re-introduce it in the future...

@SimenB SimenB merged commit a3edd21 into jest-community:master Feb 1, 2019
@SimenB
Copy link
Member

SimenB commented Feb 1, 2019

🎉 This PR is included in version 22.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@SimenB SimenB added the released label Feb 1, 2019
@SimenB
Copy link
Member

SimenB commented Feb 1, 2019

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.

[jest/prefer-spy-on]: Fix objects must not be overlapped in a report.
2 participants