Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(eslint-plugin): [no-invalid-void-type] better report message for void used as a constituent inside a function return type#5274
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
53 commits Select commitHold shift + click to select a range
5b79028 feat: update repository
kmin-jeong5c3af4d remove duplicate examples
kmin-jeongf5674a8 feat:add about re-exporting --isolatedModules in When Not To Use It
kmin-jeongd47eeb4 feat: add exmaples
kmin-jeong6f74fea fix: remove duplicate examples in correct
kmin-jeong7fb6dc7 fix:correct words
kmin-jeonge77ae67 fix: fix space-between
kmin-jeong2572fd6 fix: fix code
kmin-jeong40f496f fix: fix code space
kmin-jeongb508138 fix: check error
kmin-jeong70dc242 fix:missed examples
kmin-jeongc895ad8 feat: read review and fix them
kmin-jeong6158e57 feat: add two taps
kmin-jeongc4a25fd fix: add <!--tabs-->
kmin-jeongcc71bea feat: fix explaination about `isolatedmodules`
kmin-jeong251f49e fix: fix explain about `isolatedModules`
kmin-jeongd42a546 fis: modify When no to use it
kmin-jeongf1c3ce4 fix: revert change log
kmin-jeong4246b6b fix: add lint
kmin-jeongc1af45c fix: add lint
kmin-jeong42d8958 add: fix code
kmin-jeongefd3668 fix:fix docs splits
kmin-jeong8b4f9de feat: add lint
kmin-jeong24c0f2e Update packages/eslint-plugin/docs/rules/consistent-type-exports.md
JoshuaKGoldberg2f2bb8d Merge branch 'main' into master
kmin-jeong05377bd Merge branch 'typescript-eslint:main' into master
kmin-jeongb5df9a8 Merge branch 'typescript-eslint:main' into master
kmin-jeonge3e6a0c Merge branch 'typescript-eslint:main' into master
kmin-jeongd844fe3 Merge branch 'typescript-eslint:main' into master
kmin-jeong4119247 Merge branch 'typescript-eslint:main' into master
kmin-jeongbcccb43 feat:change error message better
kmin-jeong8154c5c fix:separating message and made types about union
kmin-jeongaeb5cad fix: separate error message
kmin-jeongae4ffba Merge branch 'typescript-eslint:main' into master
kmin-jeong3c531e8 fix:fix mistake type
kmin-jeongaf8cede fix:fix typo
kmin-jeong87f169c Merge branch 'main' into feat/5255
kmin-jeongf7627e7 fix:fix error message in case of union
kmin-jeong4b24d17 Merge branch 'typescript-eslint:main' into master
kmin-jeong8822312 Merge branch 'main' into feat/5255
kmin-jeong0c452d8 Merge branch 'master' of https://github.com/kmin-jeong/typescript-esl…
kmin-jeong9a9982d Merge branch 'feat/5255' of https://github.com/kmin-jeong/typescript-…
kmin-jeongdfa5f37 Merge branch 'main' into feat/5255
kmin-jeong3ae90bf fix:fix error message in InvalidVoidForUnion
kmin-jeongf31f829 Merge branch 'typescript-eslint:main' into feat/5255
kmin-jeong9d4199b Merge branch 'main' into feat/5255
kmin-jeong369f447 fix: add logic about union
kmin-jeong1a9d56d feat: add test case
kmin-jeong4329328 Merge branch 'main' into feat/5255
kmin-jeong7bc3031 Merge branch 'main' into feat/5255
kmin-jeong1c48645 Merge branch 'main' into feat/5255
kmin-jeongad238bc Switched change to just enhance error message
JoshuaKGoldberg20d46de oops comment
JoshuaKGoldbergFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
23 changes: 17 additions & 6 deletionspackages/eslint-plugin/src/rules/no-invalid-void-type.ts
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
26 changes: 23 additions & 3 deletionspackages/eslint-plugin/tests/rules/no-invalid-void-type.test.ts
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
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.