Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up lint warnings #547

Merged
merged 6 commits into from
Dec 19, 2024
Merged

Clean up lint warnings #547

merged 6 commits into from
Dec 19, 2024

Conversation

ecooper
Copy link
Contributor

@ecooper ecooper commented Dec 18, 2024

Problem

Over the past few weeks, we've racked up quite a few npm linting warnings.

Solution

Transfer TODOs into actionable issues, and fix complexity complaints.

Result

Clean bill of health.

Screenshot 2024-12-18 at 2 16 01 PM

Testing

No tests have been harmed as part of these changes.

@ecooper ecooper requested a review from a team as a code owner December 18, 2024 22:13
@ecooper ecooper changed the title V3 clean lint Clean up lint warnings Dec 18, 2024
@ecooper ecooper changed the base branch from v3 to main December 19, 2024 18:15
@@ -52,64 +61,73 @@ class OAuthClient {
return Buffer.from(randomBytes(20)).toString("base64url");
}

_handleRedirect({ pathname, res }) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefix with # instead to make it private?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'd need to update the shared eslint configuration and that's outside the scope of this PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, bummer.

Copy link
Contributor

@ptpaterson ptpaterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit on class method names intended to be private, but otherwise LGTM.

@ecooper ecooper merged commit 0514244 into main Dec 19, 2024
4 checks passed
@ecooper ecooper deleted the v3-clean-lint branch December 19, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants