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

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

Build:
Build:
LAST BUILD BRANCH: jsx-valid-rel
DEFAULT BRANCH: master
Ran 25 Nov 2016 06:29PM UTC
Jobs 3
Files 63
Run time 14s
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
1421

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 1421.1 25 Nov 2016 06:29PM UTC 0
97.03
Travis Job 1421.1
2 1421.2 25 Nov 2016 06:29PM UTC 0
97.03
Travis Job 1421.2
3 1421.3 25 Nov 2016 06:29PM UTC 0
97.03
Travis Job 1421.3
Source Files on build 1421
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1421
  • 1f65dd1e on github
  • Next Build on no-array-index-key (#1423)
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