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 see another bug related to the default setting for this rule, but it also doesnt correctly autofix. Take this code:
const { data } = params; // data is { inventory { 1: 5}} const inventoryForMonth = get(data, ['inventory', monthNum], 0);
the autofix changed it to:
const inventoryForMonth = get(data, `inventory${monthNum}`, 0);
the correct fix would have been
const inventoryForMonth = get(data, `inventory.${monthNum}`, 0);
or
const inventoryForMonth = get(data, `inventory[${monthNum}]`, 0);
The text was updated successfully, but these errors were encountered:
@chalda could you post a repo URL on your end to reproduce this easily?
Sorry, something went wrong.
No branches or pull requests
I see another bug related to the default setting for this rule, but it also doesnt correctly autofix. Take this code:
the autofix changed it to:
the correct fix would have been
or
The text was updated successfully, but these errors were encountered: