Skip to content

sort-comp class configuration #827

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

Closed
vojty opened this issue Sep 13, 2016 · 1 comment
Closed

sort-comp class configuration #827

vojty opened this issue Sep 13, 2016 · 1 comment
Labels

Comments

@vojty
Copy link

vojty commented Sep 13, 2016

sort-comp doesn't work for custom classes inherited from React.Component. How about add classes to configuration, where I could specify them?

@ljharb
Copy link
Member

ljharb commented Feb 16, 2018

Although using inheritance in this manner is an anti pattern, you can use a jsdoc extends comment to indicate to this plugin that your subclass is a component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants