You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be done in a generic way and contributed as a new rule to eslint-plugin-import.
In the rule config you would specify a mapping dict between modules and the expected name for the default export. In this case it would be {'prop-types': 'PropTypes'}
A second step would be adding an automated fixer to the rule as well, to rename incorrectly-named imports.
No description provided.
The text was updated successfully, but these errors were encountered: