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

coderaiser / putout-editor / 36607671474
100%

Build:
DEFAULT BRANCH: master
Ran 29 Sep 2026 05:51PM UTC
Jobs 3
Files 116
Run time 1min
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 Sep 2026 05:49PM UTC coverage: 100.0%. Remained the same
36607671474

push

github

coderaiser
refactor: plugin-putout-editor: remove-comments, no KEYS and no loops

Drops the KEYS array and the two loops over it. The three keys are named
where they are used, so the rule reads top to bottom without indirection:

  const hasLength = (a) => a && a.length;

fix empties all three unconditionally, which is safe because filter has
already established at least one is populated. filter destructures the three
off node in its signature and returns early on the first two.

`return hasLength(innerComments)` rather than `return false` because
return/simplify-boolean rejects the plain false once the earlier returns are
in place, and hasLength already coerces. Optional chaining is out: the
optional-chaining rule bans it here, which is why the condition is
`a && a.length` and not `a?.length`.

Same behaviour, measured after the change: 10 of 10 comments removed by
--fix, 0 places on a clean file, 172 tests, 100% coverage, putout . clean.

1081 of 1081 branches covered (100.0%)

Branch coverage included in aggregate %.

6670 of 6670 relevant lines covered (100.0%)

61.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36607671474.1 29 Sep 2026 05:51PM UTC 116
100.0
GitHub Action Run
2 36607671474.2 29 Sep 2026 05:51PM UTC 116
100.0
GitHub Action Run
3 36607671474.3 29 Sep 2026 05:52PM UTC 116
100.0
GitHub Action Run
Source Files on build 36607671474
  • Tree
  • List 116
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36607671474
  • 3bad212b on github
  • Prev Build on master (#36606319739)
  • Next Build on master (#36607939734)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc