HomePhabricator

[token-server] Fix ts lint and add to arc lint

Description

[token-server] Fix ts lint and add to arc lint

Summary:
As I learn more about how to properly implement typescript, figuring out some initial implementations were not great. For token-server, the linter was not properly configured.

Properly configure the linter. Fix existing lint issues.

Because "properly configured" also means "works well with arclint" for ABC monorepo apps -- set that up to confirm this also works.

Test Plan: npm test, arc lint -- apps/token-server/**/*

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D17174

Details

Provenance
bytesofmanAuthored on Nov 20 2024, 22:40
bytesofmanPushed on Nov 21 2024, 04:57
Reviewer
Restricted Project
Differential Revision
D17174: [token-server] Fix ts lint and add to arc lint
Parents
rABCd74a3bd8a0e8: [avalanche] Do not modify the chaintip in stake contender test
Branches
Unknown
Tags
Unknown