Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Refactor and fix no-inferred-empty-object-type #2762

Merged
merged 5 commits into from May 26, 2017
Merged

Refactor and fix no-inferred-empty-object-type #2762

merged 5 commits into from May 26, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented May 14, 2017

PR checklist

Overview of change:

Only check ObjectType and return early to avoid recursing infinitely.
Fixes: #2646

Is there anything you'd like reviewers to focus on?

To test this, I needed to enable importing node_modules in tests.

CHANGELOG.md entry:

[bugfix] no-inferred-empty-object-type: fix stack overflow
[develop]: rule tests now support imports of node_modules

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maximum call stack size exceeded - Warning caused by no-inferred-empty-object-type
2 participants