From 08f451f936ece3c3858e0c6ecb0e7e3b74bb16e6 Mon Sep 17 00:00:00 2001 From: penx Date: Thu, 23 Mar 2017 18:59:48 +0100 Subject: [PATCH] Update no-array-index-key.md to address issue 1123 https://github.com/yannickcr/eslint-plugin-react/issues/1123 --- docs/rules/no-array-index-key.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/rules/no-array-index-key.md b/docs/rules/no-array-index-key.md index 86eb2ac800..cb93560f6d 100644 --- a/docs/rules/no-array-index-key.md +++ b/docs/rules/no-array-index-key.md @@ -95,3 +95,7 @@ things.reduceRight((collection, thing) => ( collection.concat() ), []); ``` + +## 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.