Skip to content

Commit

Permalink
Enable more staticcheck rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Jan 7, 2024
1 parent f7fa83b commit 327ab75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/transport/bridge/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ func (d *SendData) OnSelected(i int) {
qrcode.ScaleMode = canvas.ImageScalePixels
qrcode.SetMinSize(fyne.NewSize(100, 100))

supportedClientsUrl := util.URLToGitHubProject("/wiki/Supported-clients")
supportedClientsURL := util.URLToGitHubProject("/wiki/Supported-clients")
qrCodeInfo := widget.NewRichText(&widget.TextSegment{
Style: widget.RichTextStyleInline,
Text: "A list of supported apps can be found ",
}, &widget.HyperlinkSegment{
Text: "here",
URL: supportedClientsUrl,
URL: supportedClientsURL,
}, &widget.TextSegment{
Style: widget.RichTextStyleInline,
Text: ".",
Expand Down
1 change: 1 addition & 0 deletions staticcheck.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
checks = ["inherit", "ST1003", "ST1016", "ST1020", "ST1021", "ST1022"]

0 comments on commit 327ab75

Please sign in to comment.