We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
static-variables
The order:
"instance-variables", "constructor", "static-methods", "lifecycle", "everything-else" "render",
Is mistaking with static members.
For example:
private static const wrong_var = 1; private b; constructor(props: any) { super(props); this.state = { .... }; }
Throws:
error wrong_var should be placed after constructor react/sort-comp
Which is wrong....
Can you please add "static-variables" as option in the rule? Expect to be something like:
"static-variables", "instance-variables", "constructor", "static-methods", "lifecycle", "everything-else" "render",
The text was updated successfully, but these errors were encountered:
That seems reasonable.
Sorry, something went wrong.
sort-comp
781bfff
Thanks for the rapid response. When this feature will be released?
Successfully merging a pull request may close this issue.
The order:
Is mistaking with static members.
For example:
Throws:
Which is wrong....
Can you please add "static-variables" as option in the rule?
Expect to be something like:
The text was updated successfully, but these errors were encountered: