• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yannickcr / eslint-plugin-react / 1423
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: jsx-valid-rel
DEFAULT BRANCH: master
Ran 25 Nov 2016 06:36PM UTC
Jobs 3
Files 63
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1423

push

travis-ci

lencioni
Add no-array-index-key rule

This rule will warn when using the array index as the `key`. As a first
pass, I decided to implement this for `Array.prototype.map`, since that
is likely the most common case, but it theoretically could be expanded
to find other cases so I kept the naming more generic.

Like many rules, this one is imperfect and is prone to some false
positives and negatives. For instance, if someone defines a `.map()`
function on an object that doesn't have the same signature as
`Array.prototype.map`, this will likely end up warning in those cases.
However, I think the value of this rule outweighs its hypothetical
drawbacks.

2777 of 2862 relevant lines covered (97.03%)

437.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1423.1 25 Nov 2016 06:36PM UTC 0
97.03
Travis Job 1423.1
2 1423.2 25 Nov 2016 06:36PM UTC 0
97.03
Travis Job 1423.2
3 1423.3 25 Nov 2016 06:36PM UTC 0
97.03
Travis Job 1423.3
Source Files on build 1423
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1423
  • 4a39e6c9 on github
  • Prev Build on no-array-index-key (#1421)
  • Next Build on no-array-index-key (#1427)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc