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.
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
feat(eslint-plugin): support Eslint 9 and 8 simultaneously #7072
base: main
Are you sure you want to change the base?
feat(eslint-plugin): support Eslint 9 and 8 simultaneously #7072
Changes from 36 commits
33904d7
93f850e
83909c4
6953229
efb017d
f2bdd0d
5c0723e
0738804
5ed62c5
35ccf83
df6f8f9
fc3aa53
f6d7862
af55f94
64b5c11
cce51f0
20a6fd4
0bda546
02cba46
5701e52
0f75492
2458862
b82a195
278a5df
d378168
0dab706
fc93083
07427ad
13efa82
939f856
13421f3
88efe1b
3a5aae2
1276d1e
aa1d5fb
5f4e62e
142761d
c16404b
692b768
43cff26
b34da96
8f1fa6c
6ab2780
7ea5e59
f348826
a4946d3
e1993a5
b0b17aa
f2aca1c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Why is this change needed?
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.
did you guys discuss it? what was the answer?
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.
@JerryWu1234 what happens if you leave this as
npm
?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.
This shouldn't be a peer dependency, should it? Is it necessary for the plugin to work?
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.
Eslint isn’t necessary.
and
@types/eslint
should be a peer dependency to prevent build errorThere 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.
What is the build error?
Users will just install the eslint plugin, they won't use any eslint code. They will only use eslint to check the code. So I don't understand why the types need to be installed.
I think this needs to be a dev dependency?