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

chore(repo): update eslint ignore rule to be specific to packages #13010

Merged
merged 5 commits into from
Feb 14, 2024

Conversation

HuiSF
Copy link
Contributor

@HuiSF HuiSF commented Feb 13, 2024

Description of changes

  • Updated the eslint temporary ignore rules (the original rules ignored more stuff than expected)
  • Update the core package again to conform to the linter rules.

Issue #, if available

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@HuiSF HuiSF requested review from a team as code owners February 13, 2024 20:31
cshfang
cshfang previously approved these changes Feb 13, 2024
@HuiSF HuiSF requested a review from cshfang February 13, 2024 22:31
if (this.authOptions?.credentialsProvider) {
return await this.authOptions.credentialsProvider.clearCredentialsAndIdentityId();
}
await this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId();
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: I prefer the old version. Its more explicit and easily readable :)

Copy link
Contributor

Choose a reason for hiding this comment

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

But I prefer the latest as the new/upgraded versions includes security patches. But thanks for the suggestion will keep in mind.


function assertUserPoolAndIdentityPoolConfig(
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this have been removed or properly used somewhere? I see its un used at the moment.

@kvramyasri7 kvramyasri7 merged commit d4ae6cd into main Feb 14, 2024
30 checks passed
@HuiSF HuiSF deleted the hui/fix/eslint-ignore-rules branch February 14, 2024 19:42
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.

None yet

5 participants