-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(eslint-plugin): [no-unnecessary-type-parameters] special case tuples and parameter location arrays as single-use #9536
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
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
cd5e9a4
wip 2 usages
jfet97 baadbe9
move tests
jfet97 f655fef
add tests
jfet97 3eeb08a
restore tests
jfet97 021f12c
point failing tests
jfet97 6caeb43
fix possible undefined symbol
jfet97 bd6f08b
left a comment
jfet97 74b2e17
ok
jfet97 18f8951
add test
jfet97 4602ca7
update doc
jfet97 e00f32f
Merge branch 'main' into main
jfet97 366158d
chore: consider existing assumeMultipleUses value
jfet97 6d386c5
add missing test case
jfet97 9979cf9
doc
jfet97 8fea88e
no error for factory functions
jfet97 d1563bd
Merge branch 'main' into main
jfet97 fe7efb1
add more tests
jfet97 81a2260
Merge remote-tracking branch 'upstream/main'
jfet97 9a82fb7
Merge branch 'main' into main
jfet97 815aebf
Merge branch 'main' into main
jfet97 2f26941
non methods member not considered as singular
jfet97 678e6b8
nvm
jfet97 3d36117
add tests
jfet97 667e715
fix tests
jfet97 13733da
add tests
jfet97 89812f4
renaming
jfet97 6f2e84d
Merge branch 'main' into main
jfet97 4232c34
add test
jfet97 b957878
add test
jfet97 d7cb27e
enhance tests
jfet97 38776d1
add comment
jfet97 8b35cab
fix comment
jfet97 32ca4c7
better names
jfet97 544d9c8
Merge branch 'main' into main
jfet97 34785bf
Merge branch 'main' into main
jfet97 6cfb31b
Swap test cases to new proposal
JoshuaKGoldberg c8cee06
Add back fetchJson case + one more
JoshuaKGoldberg 18ba62b
Merge branch 'main'
JoshuaKGoldberg a9f1684
Some more test cases while we're at it
JoshuaKGoldberg 2e1c31c
wip
jfet97 f185577
fup
jfet97 fed012a
Fixed up tests per multi-element tuples
JoshuaKGoldberg c94a9de
progress
jfet97 015c68c
comments
jfet97 0eb9d8c
restore optimization
jfet97 dd91489
propagate return type context
jfet97 286e7ae
remove readonly tests
jfet97 ae4e523
doc
jfet97 48cfe54
docs again
jfet97 0d1f8df
Filled in snapshots
JoshuaKGoldberg 27f29e2
implement some suggested changes
jfet97 21cbd34
Finally commit docs reverts/touchups
JoshuaKGoldberg fc006d3
last piece of feedback
kirkwaiblinger 8a24eca
chore: fix formatting
JoshuaKGoldberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
15 changes: 15 additions & 0 deletions
15
...ages/eslint-plugin/tests/docs-eslint-output-snapshots/no-unnecessary-type-parameters.shot
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.