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

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

Build:
Build:
LAST BUILD BRANCH: jsx-valid-rel
DEFAULT BRANCH: master
Ran 29 Jan 2017 07:40PM UTC
Jobs 7
Files 66
Run time 5min
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
1514

push

travis-ci

lencioni
Add void-dom-elements-no-children rule

There are some HTML elements that are only self-closing (e.g. `img`,
`br`, `hr`). These are collectively known as void DOM elements. If you
try to give these children, React will give you a warning like:

> Invariant Violation: img is a void element tag and must neither have
> `children` nor use `dangerouslySetInnerHTML`.

This rule prevents this from happening.

Since this is already a warning in React, we should add it to the
recommended configuration in our next major release.

Fixes #709

3063 of 3171 relevant lines covered (96.59%)

1150.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1514.1 29 Jan 2017 07:40PM UTC 0
96.59
Travis Job 1514.1
2 1514.2 29 Jan 2017 07:46PM UTC 0
96.59
Travis Job 1514.2
3 1514.3 29 Jan 2017 07:44PM UTC 0
96.59
Travis Job 1514.3
4 1514.4 29 Jan 2017 07:41PM UTC 0
96.59
Travis Job 1514.4
5 1514.5 29 Jan 2017 07:41PM UTC 0
96.59
Travis Job 1514.5
6 1514.6 29 Jan 2017 07:42PM UTC 0
96.59
Travis Job 1514.6
7 1514.7 29 Jan 2017 07:43PM UTC 0
96.59
Travis Job 1514.7
Source Files on build 1514
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1514
  • 67d62bd8 on github
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

© 2025 Coveralls, Inc