-
Notifications
You must be signed in to change notification settings - Fork 188
Unreachable loops #2141
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
Unreachable loops #2141
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
5872b25
Lint unreachable code in loops
MEO265 aeca511
Add tests
MEO265 82a22ba
Update doc
MEO265 db3869f
Update lint warning message
MEO265 7483afb
Lint next and break
MEO265 a816863
Update doc
MEO265 70f05c5
Update man
MEO265 7e408d5
Add test for next and break
MEO265 3c490c3
Ignore nolint comments for next and break
MEO265 2d482e6
Tests for nolint comments
MEO265 c577c50
Indentation fix
MEO265 838d9f9
Merge branch 'main' into unreachable_loops
MEO265 ea3820b
Consider for and else
MEO265 c22d7f0
Update NEWS
MEO265 2d1a316
Merge branch 'main' into unreachable_loops
MEO265 f825ea9
Fix linebreak
MEO265 134dcaa
Fix NEWS
MEO265 cbd1352
Additional tests
MEO265 ad448da
Merge branch 'main' of https://github.com/MEO265/lintr into unreachab…
MEO265 9cf4f24
Merge branch 'main' into unreachable_loops
MichaelChirico 68d349e
Merge remote-tracking branch 'origin/main' into unreachable_loops
MichaelChirico 792904c
fix merge on NEWS
MichaelChirico ce0cfa9
fix lint message (merge)
MichaelChirico 4640abb
simplify xpaths
MichaelChirico 23d3dc7
extract to helper
MichaelChirico 78952cf
switch order
MichaelChirico f645ac3
stale TODO
MichaelChirico 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.