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
I have identified a false pass for the destructuring assignment rule.
Note the, destructureInSignature set to 'always'.
I have made a branch with the test case added, which fails here:
https://github.com/grant-unwin-cc/eslint-plugin-react/blob/destructuring-assignment-false-pass-example/tests/lib/rules/destructuring-assignment.js#L895
Expect the test to pass, it does not. It seems to be mislead by a destructuring further down.
master
8.38.0
18.15.0
The text was updated successfully, but these errors were encountered:
Good catch - can you make a PR, even if it just has the failing test cases?
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Description Overview
I have identified a false pass for the destructuring assignment rule.
Note the, destructureInSignature set to 'always'.
I have made a branch with the test case added, which fails here:
https://github.com/grant-unwin-cc/eslint-plugin-react/blob/destructuring-assignment-false-pass-example/tests/lib/rules/destructuring-assignment.js#L895
Expected Behavior
Expect the test to pass, it does not. It seems to be mislead by a destructuring further down.
https://github.com/grant-unwin-cc/eslint-plugin-react/blob/destructuring-assignment-false-pass-example/tests/lib/rules/destructuring-assignment.js#L895
eslint-plugin-react version
master
eslint version
8.38.0
node version
18.15.0
The text was updated successfully, but these errors were encountered: