Skip to content

Commit

Permalink
Merge pull request #1124 from penx/patch-1
Browse files Browse the repository at this point in the history
Update no-array-index-key.md to address issue 1123
  • Loading branch information
yannickcr committed Aug 14, 2017
2 parents ecc5d89 + 08f451f commit 0f6688b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/rules/no-array-index-key.md
Expand Up @@ -95,3 +95,7 @@ things.reduceRight((collection, thing) => (
collection.concat(<Hello key={thing.id} />)
), []);
```

## When Not To Use It

If there is nothing unique about the items, for example [you are breaking an array down in to chunks](https://github.com/yannickcr/eslint-plugin-react/issues/1123), then you may want to disable this rule with an override.

0 comments on commit 0f6688b

Please sign in to comment.