-
Notifications
You must be signed in to change notification settings - Fork 16
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
Conversation
@@ -52,64 +61,73 @@ class OAuthClient { | |||
return Buffer.from(randomBytes(20)).toString("base64url"); | |||
} | |||
|
|||
_handleRedirect({ pathname, res }) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, bummer.
There was a problem hiding this 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.
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.
Testing
No tests have been harmed as part of these changes.