Page MenuHomePhabricator

[chronik-client] Enforce header with eslint plugin
ClosedPublic

Authored by bytesofman on Feb 18 2024, 21:37.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCacee723e5449: [chronik-client] Enforce header with eslint plugin
Summary

This lib should have standard headers

Add eslint plugin. For files that have not been updated since 2023, use 2023. For files new in 2024, use 2024.

Test Plan

Confirm linter change and headers look ok.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tobias_ruck added inline comments.
modules/chronik-client/src/ChronikClient.ts
3 ↗(On Diff #45368)

C++ and Rust usually adds a newline after the copyright, do you want to do that here, too? Maybe even enforce it in the rules

This revision is now accepted and ready to land.Feb 19 2024, 09:11
This revision was automatically updated to reflect the committed changes.
bytesofman marked an inline comment as done.