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

kevinoid / node-project-template / 28754927639
80%
main: 96%

Build:
Build:
LAST BUILD BRANCH: commonjs
DEFAULT BRANCH: main
Ran 05 Jul 2026 09:07PM UTC
Jobs 4
Files 1
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

05 Jul 2026 09:06PM UTC coverage: 80.0%. Remained the same
28754927639

push

github

kevinoid
fix(editorconfig): don't trim diff whitespace

The [Unified Diff Format] will contain trailing whitespace in at least
four cases:

1. If a line being removed contained trailing whitespace.
2. If a line being added contained trailing whitespace.
3. If a line common to both files (context line) contained trailing
   whitespace.
4. If an empty line was common to both files (causing the prefix space
   to be trailing whitespace).

Removing the trailing whitespace will either break the diff or cause a
change in semantics:

1. The patch will fail to match the removed line.
2. The patch will add a different line than it did before.
3. The patch will fail to match the common lines.
4. The patch may be considered invalid or fail to match.

Although #2 may be desired in some cases, the others are certainly not.
Therefore, do not remove trailing whitespace when editing a patch in a
text editor (e.g. editing a hunk from `git add -p`).

[Unified Diff Format]: https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>

2 of 4 branches covered (50.0%)

Branch coverage included in aggregate %.

14 of 16 relevant lines covered (87.5%)

3.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest_x64_* - 28754927639.1 05 Jul 2026 09:07PM UTC 1
80.0
GitHub Action Run
2 windows-latest_x64_20.19 - 28754927639.2 05 Jul 2026 09:08PM UTC 1
80.0
GitHub Action Run
3 windows-latest_x64_latest - 28754927639.3 05 Jul 2026 09:08PM UTC 1
80.0
GitHub Action Run
4 ubuntu-latest_x64_20.19 - 28754927639.4 05 Jul 2026 09:08PM UTC 1
80.0
GitHub Action Run
Source Files on build 28754927639
  • Tree
  • List 1
  • 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 #28754927639
  • 10522a65 on github
  • Prev Build on commonjs (#26845647350)
  • Delete
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