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

coderaiser / putout-editor / 36602086933
100%

Build:
DEFAULT BRANCH: master
Ran 29 Sep 2026 05:04PM 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:02PM UTC coverage: 100.0%. Remained the same
36602086933

push

github

coderaiser
refactor: plugin-putout-editor: remove-comments, Program and the raw traverse

Replaces the seven-name NODES list with a Program visitor that calls the raw
traverse itself, so every node is visited without naming them. Suggested by
the maintainer after I concluded the catch-all did not exist; it does, just
one layer down.

The rule runner drops a top-level `enter`/`exit` on purpose -
@putout/babel's shouldIgnoreKey returns true for both, and merge2 skips those
keys while merging the visitor - so `{enter}` inside a rule's traverse fires
zero times. `Program` is not ignored, and traverse() imported from putout is
the same babel walk estree-to-babel uses, before the merge, so `enter` works
there. That is also why estree-to-babel could get away with it and this rule
could not: two entry points into one library.

Measured head to head on a file carrying all six comment positions: 11 places
and 0 comments left after --fix, identical for both forms. The import is
aliased to babelTraverse because the rule exports its own traverse, and the
unaliased name is a SyntaxError: Identifier 'traverse' has already been
declared.

Kept the three spec cases from the previous commit - they are what proves the
widened shapes, and they would still pass if the walk went back to a list.
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 36602086933.1 29 Sep 2026 05:04PM UTC 116
100.0
GitHub Action Run
2 36602086933.2 29 Sep 2026 05:04PM UTC 116
100.0
GitHub Action Run
3 36602086933.3 29 Sep 2026 05:05PM UTC 116
100.0
GitHub Action Run
Source Files on build 36602086933
  • Tree
  • List 116
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36602086933
  • ad9e1bf8 on github
  • Prev Build on master (#36595499280)
  • Next Build on master (#36606319739)
  • 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