update eslint; types/lint fixes#307
Merged
legobeat merged 22 commits intoMetaMask:mainfrom Apr 28, 2023
Merged
Conversation
26eec07 to
c5367c3
Compare
legobeat
commented
Apr 25, 2023
legobeat
commented
Apr 25, 2023
b903626 to
0200f8d
Compare
legobeat
commented
Apr 25, 2023
6076795 to
50c436c
Compare
Contributor
Author
This was referenced Apr 25, 2023
kumavis
reviewed
Apr 26, 2023
Mrtenz
previously approved these changes
Apr 27, 2023
Gudahtt
reviewed
Apr 27, 2023
Gudahtt
reviewed
Apr 27, 2023
Gudahtt
reviewed
Apr 27, 2023
Gudahtt
reviewed
Apr 27, 2023
Gudahtt
reviewed
Apr 27, 2023
| expect(() => | ||
| encrypt({ | ||
| publicKey: null, | ||
| publicKey: null as any, |
Member
There was a problem hiding this comment.
Nit: We could use // @ts-expect-error in each of these places rather than casting to any. It's a bit safer in that we get notified if the type error goes away.
It also prevents the any type "leaking" onto other lines where the type checking would still be valuable (not applicable here because null is a literal, but it might apply if this was done to a variable).
9b78df6 to
20948d7
Compare
20948d7 to
b25ed4f
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Gudahtt
reviewed
Apr 27, 2023
9d03d87 to
eb00077
Compare
eb00077 to
bab5f82
Compare
Contributor
Author
|
Member
|
Mostly looks good! I can approve once the issue with tests being published has been fixed. |
Gudahtt
approved these changes
Apr 28, 2023
Contributor
Author
|
@SocketSecurity ignore shiki@0.14.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
eslint@7.30.0->8.27.0@types/bn.js