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

you-dont-need / You-Dont-Need-Lodash-Underscore / 485
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v6.12.0
DEFAULT BRANCH: master
Ran 19 Oct 2019 08:05AM UTC
Jobs 4
Files 2
Run time 2s
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
485

Pull #228

travis-ci

web-flow
Added rules for _.flatten() in lib/rules/rules.json, using the .reduce() method as the suggestion given that it is the most widely compatible. I've also included linter tests in tests/lib/rules/all.js for _.flatten() along with .reduce(), .flat, and .flatMap() as the valid alternatives. Finally, I've included unit tests in tests/unit/all.js to verify that .reduce() and _.flatten() produce the same results for a two-layer and multi-layer array. Currently passes all linter and unit tests using Mocha.
Pull Request #228: Adding rules and tests for _.flatten()

39 of 43 branches covered (90.7%)

46 of 46 relevant lines covered (100.0%)

70.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 485.1 19 Oct 2019 08:05AM UTC 0
100.0
Travis Job 485.1
2 485.2 19 Oct 2019 08:05AM UTC 0
100.0
Travis Job 485.2
3 485.3 19 Oct 2019 08:05AM UTC 0
100.0
Travis Job 485.3
4 485.4 19 Oct 2019 08:05AM UTC 0
100.0
Travis Job 485.4
Source Files on build 485
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #485
  • Pull Request #228
  • PR Base - master (#483)
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