We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
This is similar to why #1124 was added but I was wondering if it'd be possible to update this rule instead of just to disable it. Here's an example:
names = ["Tom", "Joe", "Tim", "Tom"]; names.map((name, index) => (<li key={`${name}-${index}`}>{name}</li>));
In a list like this, sometimes the data isn't unique by itself, but it is when combined with it's position.
Would it be possible to update the rule to allow cases like this?
The text was updated successfully, but these errors were encountered:
If you're using the index, then using other data adds zero value - just use the index. If you can only use the other data, then don't use the index.
Sorry, something went wrong.
No branches or pull requests
This is similar to why #1124 was added but I was wondering if it'd be possible to update this rule instead of just to disable it. Here's an example:
In a list like this, sometimes the data isn't unique by itself, but it is when combined with it's position.
Would it be possible to update the rule to allow cases like this?
The text was updated successfully, but these errors were encountered: