Repository navigation
@metamask/eslint config@6.0.0 - #442
Merged
Merged
Conversation
Contributor
Author
|
|
Member
rekmarks
marked this pull request as draft
April 13, 2021 23:35
Gudahtt
reviewed
Apr 14, 2021
Member
There was a problem hiding this comment.
Ah I see, these are restricted matchers in our config that we use here? Maybe worth adding a comment explaining this
Gudahtt
reviewed
Apr 14, 2021
Gudahtt
reviewed
Apr 14, 2021
rekmarks
force-pushed
the
@metamask/eslint-config@6.0.0
branch
2 times, most recently
from
April 14, 2021 16:03
7d1e059 to
76eb3f2
Compare
rekmarks
force-pushed
the
@metamask/eslint-config@6.0.0
branch
from
April 15, 2021 18:20
76eb3f2 to
0db3170
Compare
rekmarks
marked this pull request as ready for review
April 15, 2021 18:26
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
rekmarks
force-pushed
the
@metamask/eslint-config@6.0.0
branch
from
April 15, 2021 18:31
0db3170 to
6baa86d
Compare
amitabh94
pushed a commit
to amitabh94/core
that referenced
this pull request
Jun 16, 2026
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.
This PR adds
@metamask/eslint-config@6.0.0and sibling packages from that major version. As you can see, the diff is enormous. However, most of the changes are programmatic and contained within single commits, so reviewing won't be as bad as it looks.The end result of this effort is to bring this repository onto the same lint standards as everywhere else in the organization. The package's own
prettierconfig is removed.Changes prefixed with "❗" required manual fixing and deserve extra attention.
.eslintrc.jsjestrules for every file, and moves them into an override targeting test files only.formatscripts and CI job are removed since formatting is now done duringlint.yarn lint:fixand replacetoEqualwithtoStrictEqualin tests.toEqualwere left over after the rebase. They're fixed fdec723.toStrictEqual.jest.resolvesmatchers.jestrules and move them to the override added in 5b4957c.lint-stagedand the localprettierconfig.yarn lint:fixto fix all prettier violations following the removal of the localprettierconfig.toEqualinstances withtoStrictEqual.