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

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

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

25 Nov 2016 06:22PM UTC coverage: 97.03%. First build
1421.2

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%)

146.0 hits per line

Source Files on job 1421.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1421
  • Travis Job 1421.2
  • 1f65dd1e on github
  • Next Job for on no-array-index-key (#1423.3)
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