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 tests #1

Merged
merged 2 commits into from
Dec 13, 2021
Merged

fix tests #1

merged 2 commits into from
Dec 13, 2021

Conversation

Brianzchen
Copy link
Member

The tests break because classes no longer threw errors, turned out when the rules where checking the node type it used to be ClassProperty but now they're being passed as PropertyDefinition.

I'm not entirely clear on the difference so I've fixed the code to handle both so that it won't break users on maybe older eslint versions

@Brianzchen Brianzchen merged commit cb43a2d into master Dec 13, 2021
@Brianzchen Brianzchen deleted the fix-errors branch December 13, 2021 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant