-
Notifications
You must be signed in to change notification settings - Fork 186
Fix identified linter errors preventing errorlint, exhaustive, inamedparam, and staticcheck from running and enable those checks. #153
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
37 commits
Select commit
Hold shift + click to select a range
a87035b
Fix some small issues that were flagged by upcoming lint checks.
rsned ed507ae
replace the swap edges, newEdges which left a dangling value with _
rsned 39caea7
Add todo on this //nolint.
rsned 69704c9
Add linter/formatter/govet github action.
rsned 12554af
Merge branch 'golang:master' into master
rsned 55902bd
Fix OSSF detected go.mod toolchain version issue.
rsned 4f7483f
update to use git hashes instead of @v5 style.
rsned e141dbf
Use dependabot compatible version comments
alan-strohm c597829
Add comments on disabled checks. Add a few more entries.
rsned 5836f6f
Merge branch 'golang:master' into master
rsned 7c7e52c
Merge remote-tracking branch 'refs/remotes/origin/master'
rsned 6df2625
Update some comments and add in reference to related issue number for…
rsned 0f45e9d
Remove govet from enabled. Drop exclusions. Clarify some comments.
rsned 6937d18
Fix some typos
alan-strohm aeac25e
Set gofmt formatter to keep the default -s (simplify option)
rsned 6570bb0
Re-disable simplify until existing files are fixed.
rsned 46b2465
Update permissions to read-all
rsned ddcf335
Fix errors that were blocking 'errorlint' checks.
rsned 97c005f
Enable errorlint and exhaustive checks.
rsned b0a75d1
Add nolint comment tags to the cases tripping exhaustive.
rsned b490ab9
Fix code that trips inamedparam checks.
rsned d52dbd3
Fix r3 with nolint comment for exhaustive checks.
rsned c350037
Enable inamedparam check.
rsned d9b9b57
Merge branch 'golang:master' into lint
rsned c6c66f3
Resolve the outstanding staticcheck lint errors.
rsned ee8b694
Merge remote-tracking branch 'refs/remotes/origin/lint' into lint
rsned 82699bd
Remove staticcheck from disabled checks.
rsned 05c557d
Merge branch 'golang:master' into lint
rsned d2d1712
Merge branch 'master' into lint
rsned d057b73
nit: Use `r` as parameter name for io.Reader.
alan-strohm 13cc0cd
.golangci.yml: remove some obsolete comments
alan-strohm 6039c41
Update vector.go to explicitly enumerate all switch cases instead of …
rsned b55b55a
Update point.go to explicitly use all three switch cases and remove n…
rsned 809fb29
Update stuv_test.go to explicitly use all three switch cases and rem…
rsned a917062
Update edge_crossings.go to explicitly use all three switch cases an…
rsned 4e3cd3f
Update edge_crossings.go
rsned 0c1ec02
Fix the final two exhaustive lint check cases with nolint tags.
rsned 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
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
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
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
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
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
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
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
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
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
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.