Commit 0fa069c
authored
Enable errcheck and staticcheck for golangci-lint v2 and resolve all issues (#4924)
* enable errcheck and staticcheck for golangci-lint v2 and resolve all issues
* skip lint on intentional reference of deprecated DetectorType values1 parent 3a022f9 commit 0fa069c
801 files changed
Lines changed: 1827 additions & 1537 deletions
File tree
- .github/workflows
- hack
- checksecretparts
- snifftest
- pkg
- analyzer
- analyzers
- airbrake
- airtable
- airtablepat
- common
- asana
- bitbucket
- datadog
- digitalocean
- elevenlabs
- figma
- github/finegrained
- gitlab
- huggingface
- jira
- mailchimp
- mailgun
- mux
- mysql
- notion
- openai
- opsgenie
- plaid
- planetscale
- postgres
- posthog
- postman
- shopify
- slack
- sourcegraph
- square
- stripe
- twilio
- generate_permissions
- buffers/buffer
- cleantemp
- common
- decoders
- detectors
- abstract
- abuseipdb
- abyssale
- accuweather/v1
- adafruitio
- adzuna
- aeroworkflow
- agora
- aha
- alibaba
- anthropic
- apacta
- appoptics
- audd
- autodesk
- autopilot
- aws/session_keys
- azure_batch
- azureapimanagementsubscriptionkey
- azureapimanagement/repositorykey
- azureappconfigconnectionstring
- azurecontainerregistry
- azuredevopspersonalaccesstoken
- azuredirectmanagementkey
- azurefunctionkey
- azuresastoken
- azuresearchadminkey
- azuresearchquerykey
- bannerbear
- v1
- v2
- baremetrics
- beamer
- beebole
- besnappy
- besttime
- betterstack
- billomat
- bingsubscriptionkey
- bitbar
- bitlyaccesstoken
- bitmex
- blazemeter
- blitapp
- blocknative
- blogger
- boostnote
- borgbase
- braintreepayments
- brandfetch
- v1
- v2
- browserstack
- browshot
- bscscan
- buddyns
- budibase
- bugherd
- bugsnag
- buildkite
- v1
- v2
- bulbul
- bulksms
- buttercms
- calendarific
- calendlyapikey
- calorieninja
- campayn
- cannyio
- capsulecrm
- captaindata/v1
- carboninterface
- cashboard
- caspio
- censys
- centralstationcrm
- cexio
- chartmogul
- chatbot
- chatfule
- checio
- checklyhq
- checkout
- checkvist
- cicero
- clarifai
- clearbit
- clicksendsms
- cliengo
- clinchpad
- clockify
- clockworksms
- closecrm
- cloudconvert
- cloudelements
- cloudflareapitoken
- cloudflareglobalapikey
- cloudimage
- cloudmersive
- cloudplan
- cloudsmith
- cloverly
- cloze
- clustdoc
- codacy
- coda
- codeclimate
- codemagic
- codequiry
- coinapi
- coinlayer
- coinlib
- collect2
- column
- commercejs
- commodities
- companyhub
- confluent
- contentfulpersonalaccesstoken
- conversiontools
- convertapi
- convertkit
- convier
- countrylayer
- courier
- coveralls
- craftmypdf
- crowdin
- cryptocompare
- currencycloud
- currencyfreaks
- currencylayer
- currencyscoop
- customerguru
- customerio
- d7network
- dailyco
- dandelion
- dareboost
- databox
- datadogtoken
- datagov
- debounce
- deepai
- deepgram
- delighted
- demio
- deno
- deputy
- detectify
- detectlanguage
- dfuse
- diffbot
- diggernaut
- digitaloceantoken
- digitaloceanv2
- discordbottoken
- discordwebhook
- disqus
- ditto
- dnscheck
- dockerhub
- v1
- v2
- docparser
- documo
- docusign
- doppler
- dronahq
- droneci
- duply
- dynalist
- dyspatch
- eagleeyenetworks
- ecostruxureit
- edamam
- edenai
- eightxeight
- elasticemail
- enablex
- enigma
- envoyapikey
- etherscan
- ethplorer
- everhour
- exchangeratesapi
- exportsdk
- extractorapi
- facebookoauth
- faceplusplus
- fastforex
- feedier
- figmapersonalaccesstoken
- v1
- v2
- fileio
- finage
- financialmodelingprep
- findl
- finnhub
- fixerio
- flatio
- fleetbase
- flickr
- flightapi
- flightstats
- float
- flowflu
- flutterwave
- fmfw
- formbucket
- formcraft
- formio
- formsite
- foursquare
- frameio
- freshbooks
- freshdesk
- front
- ftp
- fulcrum
- fullstory
- v1
- v2
- fxmarket
- gcp
- geckoboard
- gemini
- gengo
- geoapify
- geocode
- geocodify
- geocodio
- geoipifi
- getemails
- getemail
- getgeoapi
- getgist
- getresponse
- getsandbox
- githubapp
- github/v1
- gitlab/v1
- gitter
- glassnode
- gocanvas
- gocardless
- goodday
- googleoauth2
- grafanaserviceaccount
- graphcms
- graphhopper
- groovehq
- gtmetrix
- guardianapi
- gumroad
- guru
- gyazo
- happyscribe
- harvest
- hellosign
- helpcrunch
- helpscout
- hereapi
- hiveage
- hive
- holidayapi
- holistic
- honeycomb
- host
- html2pdf
- huggingface
- humanity
- hunter
- hybiscus
- hypertrack
- ibmclouduserkey
- iconfinder
- iexapis
- iexcloud
- imagekit
- imagga
- impala
- infura
- insightly
- instabot
- instamojo
- intercom
- interseller
- intra42
- intrinio
- invoiceocean
- ip2location
- ipapi
- ipgeolocation
- ipinfodb
- ipinfo
- ipstack
- jdbc
- jotform
- jumpcloud
- jupiterone
- juro
- jwt
- kanbantool
- kanban
- karmacrm
- keenio
- kickbox
- klaviyo
- klipfolio
- knapsackpro
- kraken
- kucoin
- kylas
- languagelayer
- larksuiteapikey
- leadfeeder
- lemlist
- lemonsqueezy
- lendflow
- lessannoyingcrm
- lexigram
- linearapi
- linemessaging
- linenotify
- linkpreview
- liveagent
- livestorm
- loadmill
- lob
- locationiq
- loggly
- loginradius
- logzio
- loyverse
- lunchmoney
- luno
- m3o
- madkudu
- magicbell
- magnetic
- mailboxlayer
- mailchimp
- mailerlite
- mailgun
- mailjetbasicauth
- mailjetsms
- mailmodo
- mailsac
- mandrill
- manifest
- mapbox
- mapquest
- marketstack
- mattermostpersonaltoken
- mavenlink
- maxmindlicense/v1
- meaningcloud
- mediastack
- meistertask
- mesibo
- messagebird
- metaapi
- metabase
- metrilo
- microsoftteamswebhook
- mindmeister
- miro
- mite
- mixmax
- mixpanel
- mockaroo
- moderation
- mongodb
- monkeylearn
- moonclerk
- moosend
- moralis
- mrticktock
- mux
- myfreshworks
- myintervals
- nasdaqdatalink
- nethunt
- netsuite
- neutrinoapi
- newrelicpersonalapikey
- newsapi
- newscatcher
- nexmoapikey
- nftport
- ngc
- nicereply
- nightfall
- nimble
- noticeable
- notion
- nozbeteams
- npmtokenv2
- npmtoken
- nugetapikey
- numverify
- nutritionix
- nylas
- oanda
- okta
- omnisend
- onedesk
- onelogin
- onepagecrm
- onesignal
- oopspam
- opencagedata
- openuv
- openvpn
- openweather
- optimizely
- overloop
- owlbot
- packagecloud
- pagerdutyapikey
- pandadoc
- pandascore
- paperform
- paralleldots
- parsehub
- parsers
- parseur
- partnerstack
- pastebin
- paydirtapp
- paymoapp
- paymongo
- paypaloauth
- paystack
- pdflayer
- pdfshift
- peopledatalabs
- pepipost
- percy
- pinata
- pipedream
- pipedrive
- pivotaltracker
- pixabay
- plaidkey
- planetscaledb
- planetscale
- planviewleankit
- planyo
- plivo
- podio
- pollsapi
- poloniex
- polygon
- portainertoken
- portainer
- positionstack
- postageapp
- postbacks
- postgres
- posthog
- postman
- powrbot
- prefect
- privacy
- privatekey
- prodpad
- prospectcrm
- protocolsio
- proxycrawl
- pubnubpublishkey
- pulumi
- purestake
- pushbulletapikey
- pypi
- rabbitmq
- railwayapp
- ramp
- rapidapi
- raven
- rawg
- razorpay
- reachmail
- readme
- reallysimplesystems
- rebrandly
- rechargepayments
- redis
- refiner
- rentman
- repairshopr
- replicate
- replyio
- requestfinance
- restpackhtmltopdfapi
- restpackscreenshotapi
- revampcrm
- rev
- ringcentral
- ritekit
- roaring
- rocketreach
- rootly
- route4me
- rownd
- rubygems
- runrunit
- salesblink
- salescookie
- salesflare
- salesforce
- salesmate
- satismeterwritekey
- scalewaykey
- scalr
- scrapeowl
- scraperapi
- scraperbox
- scrapestack
- scrapfly
- scrapingant
- screenshotapi
- screenshotlayer
- scrutinizerci
- securitytrails
- segmentapikey
- selectpdf
- semaphore
- sendbirdorganizationapi
- sendbird
- sendinbluev2
- serphouse
- serpstack
- sheety
- sherpadesk
- shipday
- shodankey
- shopify
- shotstack
- shutterstockoauth
- shutterstock
- signable
- signalwire
- signaturit
- signupgenius
- sigopt
- simfin
- simplesat
- simplynoted
- simvoly
- sinchmessage
- sirv
- siteleaf
- skrappio
- slackwebhook
- slack
- smartystreets
- smooch
- snipcart
- snowflake
- snykkey
- sourcegraphcody
- sourcegraph
- sparkpost
- speechtextai
- splunkobservabilitytoken
- spoonacular
- sportsmonk
- sqlserver
- squarespace
- square
- sslmate
- statuscake
- statuspage
- statuspal
- stitchdata
- stockdata
- storecove
- stormboard
- stormglass
- storychief
- strava
- streak
- stripe
- stripo
- stytch
- sugester
- supabasetoken
- supernotesapi
- surveyanyplace
- surveybot
- surveysparrow
- survicate
- swell
- swiftype
- tailscale
- tallyfy
- tatumio
- taxjar
- teamgate
- teamworkcrm
- teamworkdesk
- teamworkspaces
- technicalanalysisapi
- tefter
- telegrambottoken
- teletype
- telnyx
- terraformcloudpersonaltoken
- textmagic
- theoddsapi
- thinkific
- thousandeyes
- ticketmaster
- tiingo
- timecamp
- timezoneapi
- tineswebhook
- tly
- tmetric
- todoist
- toggltrack
- tokeet
- tomorrowio
- tomtom
- tradier
- transferwise
- travelpayouts
- travisci
- trelloapikey
- trufflehogenterprise
- tru
- twelvedata
- twist
- twitch
- twitterconsumerkey
- twitter/v1
- tyntec
- typeform/v2
- typetalk
- ubidots
- uclassify
- unifyid
- unplugg
- unsplash
- upcdatabase
- uplead
- uploadcare
- uptimerobot
- upwave
- urlscan
- userflow
- userstack
- user
- vagrantcloudpersonaltoken
- vatlayer
- vbout
- vercel
- verifier
- verimail
- veriphone
- versioneye
- viewneo
- virustotal
- visualcrossing
- voiceflow
- voicegain
- voodoosms
- vouchery
- vpnapi
- vultrapikey
- vyte
- walkscore
- weatherbit
- weatherstack
- web3storage
- webex
- webflow
- webscraper
- webscraping
- websitepulse
- wepay
- whoxy
- wistia
- wit
- worksnaps
- workstack
- worldcoinindex
- worldweather
- wrike
- yandex
- yelp
- youneedabudget
- yousign
- youtubeapikey
- engine
- defaults
- gitparse
- giturl
- handlers
- iobuf
- output
- roundtripper
- sanitizer
- sources
- docker
- elasticsearch
- filesystem
- gcs
- github_experimental
- github
- gitlab
- git
- huggingface
- jenkins
- json_enumerator
- postman
- s3
- syslog
- tui
- common
- components
- selector
- viewport
- pages
- analyze_form
- analyze_keys
- wizard_intro
- updater
- writers/buffered_file_writer
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
| 728 | + | |
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
112 | | - | |
| 111 | + | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
153 | | - | |
| 152 | + | |
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments