Skip to content

[$50] Fix code quality issues from V4 changes #32

@ThomasKranitsas

Description

@ThomasKranitsas

This #30 PR introduced code quality issues that should be fixed.

Most of them are in https://github.com/topcoder-platform/topcoder-react-lib/blob/1e4b154636c86c111b964c0258e6a6706735cf1a/src/services/challenges.js but everything should be checked and fixed.

  • Fix eslint issues and revert rules to the default configs
  • Fix many typos v3 => v4 in method documentation.
  • We use the getApiResponsePayloadV3() method with the response from the V4.
  • getApiV3 is defined but never used.
  • We defined both this.private.api and this.private.apiV4 as getApiV4(tokenV3). This is confusing.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy