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

kevinoid / node-project-template
96%

Build:
DEFAULT BRANCH: main
Repo Added 15 Nov 2020 10:23PM UTC
Token kQXQur4jE7CgDIi3NwFgf6DLjkprTPYD4 regen
Build 2248 Last
Files 3
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • commonjs
  • dependabot/github_actions/actions/checkout-3
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-5.0.1
  • dependabot/github_actions/actions/checkout-6.0.0
  • dependabot/github_actions/actions/checkout-6.0.1
  • dependabot/github_actions/actions/checkout-6.0.2
  • dependabot/github_actions/actions/checkout-6.0.3
  • dependabot/github_actions/actions/checkout-7.0.0
  • dependabot/github_actions/actions/setup-node-4
  • dependabot/github_actions/actions/setup-node-5
  • dependabot/github_actions/actions/setup-node-6.0.0
  • dependabot/github_actions/actions/setup-node-6.1.0
  • dependabot/github_actions/actions/setup-node-6.2.0
  • dependabot/github_actions/actions/setup-node-6.4.0
  • dependabot/github_actions/codecov/codecov-action-3
  • dependabot/github_actions/codecov/codecov-action-4
  • dependabot/github_actions/codecov/codecov-action-5
  • dependabot/github_actions/codecov/codecov-action-5.5.2
  • dependabot/github_actions/codecov/codecov-action-5.5.3
  • dependabot/github_actions/codecov/codecov-action-6.0.0
  • dependabot/github_actions/codecov/codecov-action-6.0.1
  • dependabot/github_actions/codecov/codecov-action-7.0.0
  • dependabot/github_actions/coverallsapp/github-action-2.3.7
  • dependabot/github_actions/zizmorcore/zizmor-action-0.3.0
  • dependabot/github_actions/zizmorcore/zizmor-action-0.4.1
  • dependabot/github_actions/zizmorcore/zizmor-action-0.5.0
  • dependabot/github_actions/zizmorcore/zizmor-action-0.5.2
  • dependabot/github_actions/zizmorcore/zizmor-action-0.5.3
  • dependabot/github_actions/zizmorcore/zizmor-action-0.5.5
  • dependabot/github_actions/zizmorcore/zizmor-action-0.5.6
  • dependabot/github_actions/zizmorcore/zizmor-action-0.5.7
  • dependabot/npm_and_yarn/c8-10.0.0
  • dependabot/npm_and_yarn/c8-8.0.0
  • dependabot/npm_and_yarn/c8-9.0.0
  • dependabot/npm_and_yarn/jsdoc-4.0.0
  • dependabot/npm_and_yarn/mocha-11.0.1
  • dependabot/npm_and_yarn/mocha-9.0.0
  • dependabot/npm_and_yarn/rimraf-5.0.0
  • dependabot/npm_and_yarn/rimraf-6.0.0
  • dependabot/npm_and_yarn/rimraf-6.0.1
  • dependabot/npm_and_yarn/yargs-17.0.0
  • dependabot/npm_and_yarn/yargs-17.0.1
  • esm
  • foo.bar
  • ghactions
  • main
  • master
  • node-10
  • test

05 Jul 2026 08:59PM UTC coverage: 95.545%. Remained the same
29408074998

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>

33 of 38 branches covered (86.84%)

Branch coverage included in aggregate %.

160 of 164 relevant lines covered (97.56%)

18.44 hits per line

Relevant lines Covered
Build:
Build:
164 RELEVANT LINES 160 COVERED LINES
18.44 HITS PER LINE
Source Files on main
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29408074998 main 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.... push 15 Jul 2026 10:26AM UTC kevinoid github
95.54
29325027943 main 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.... push 14 Jul 2026 10:22AM UTC kevinoid github
95.54
29188697207 main 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.... push 12 Jul 2026 10:12AM UTC kevinoid github
95.54
29148752952 main 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.... push 11 Jul 2026 10:04AM UTC kevinoid github
95.54
29089575632 main 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.... push 10 Jul 2026 11:29AM UTC kevinoid github
95.54
29015043953 main 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.... push 09 Jul 2026 11:30AM UTC kevinoid github
95.54
28936244079 main 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.... push 08 Jul 2026 10:37AM UTC kevinoid github
95.54
28862584476 main 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.... push 07 Jul 2026 11:26AM UTC kevinoid github
95.54
28791322857 main 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.... push 06 Jul 2026 12:25PM UTC kevinoid github
95.54
28754927639 commonjs 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.... push 05 Jul 2026 09:07PM UTC kevinoid github
80.0
See All Builds (1760)

Badge your Repo: node-project-template

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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