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

sindresorhus / eslint-plugin-unicorn / 504 / 2
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 29 Dec 2018 05:54PM UTC
Files 29
Run time 1s
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

29 Dec 2018 05:52PM UTC coverage: 98.638% (+0.02%) from 98.621%
504.2

push

travis-ci

sindresorhus
Add `prefer-node-append` rule (#201)

* Add rule to prefer append over appendChild

 - Created a new entry in index.js for prefer-node-append.

 - Added a test for prefer-node-append.

* Simplify rule for prefer-node-append

Replace property at node level instead of constructing the fix manually.

* Add tests to ensure eslint does not crash

 - invalid case of node.appendChild()
 - invalid case of node.appendChild(null)
 - valid case of node.append()
 - valid case of node.append(null)
 - valid case of appending multiple nodes

* Add prefer-node-append rule in readme and docs

 - entry in usage section of readme
 - entry in rules section of readme
 - new rule doc for prefer-node-append

* Update prefer-node-append.md

495 of 514 branches covered (96.3%)

724 of 734 relevant lines covered (98.64%)

23.63 hits per line

Source Files on job 504.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 485
  • Travis Job 504.2
  • 9da5e6a3 on github
  • Prev Job for on master (#498.2)
  • Next Job for on master (#507.2)
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