Page MenuHomePhabricator

[herald] Fix the headers, lint the package
ClosedPublic

Authored by Fabien on Oct 7 2024, 08:56.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCe36e63a307a6: [herald] Fix the headers, lint the package
Summary

The headers are enforced with a single year which is absurd. Update and lint all the files.

Test Plan
arc lint  -- apps/ecash-herald/**/*.js

Diff Detail

Repository
rABC Bitcoin ABC
Branch
herald_lint
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30507
Build 60531: Build Diffecash-herald-tests
Build 60530: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Oct 7 2024, 08:56
PiRK added a subscriber: PiRK.
PiRK added inline comments.
apps/ecash-herald/.eslintrc.js
10 ↗(On Diff #49961)

Good for another 9,75 centuries.
Are the brackets needed for the first digit ([2])?

This revision is now accepted and ready to land.Oct 7 2024, 13:15
apps/ecash-herald/.eslintrc.js
10 ↗(On Diff #49961)

clearly not, I copy pasted this but the regex is indeed over-complicated for no reason

This revision was automatically updated to reflect the committed changes.