Skip to content

Upgrade linters#2985

Merged
JoTurk merged 1 commit intomasterfrom
impr/basic-lint
Jan 18, 2025
Merged

Upgrade linters#2985
JoTurk merged 1 commit intomasterfrom
impr/basic-lint

Conversation

@JoTurk
Copy link
Copy Markdown
Member

@JoTurk JoTurk commented Jan 2, 2025

Description

Upgrade the linters, I will ignore those that require refactor (will be addressed in a separate PR).

Reference PR

pion/.goassets#220

@JoTurk JoTurk mentioned this pull request Jan 2, 2025
20 tasks
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 2, 2025

Codecov Report

Attention: Patch coverage is 89.29664% with 105 lines in your changes missing coverage. Please review.

Project coverage is 78.47%. Comparing base (99dcc6b) to head (feeeebf).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
peerconnection.go 91.00% 17 Missing and 9 partials ⚠️
sdp.go 90.15% 9 Missing and 4 partials ⚠️
interceptor.go 55.55% 8 Missing and 4 partials ⚠️
rtpreceiver.go 83.72% 4 Missing and 3 partials ⚠️
dtlstransport.go 82.85% 6 Missing ⚠️
pkg/media/ivfwriter/ivfwriter.go 50.00% 5 Missing ⚠️
pkg/media/oggwriter/oggwriter.go 73.68% 5 Missing ⚠️
datachannel.go 81.81% 4 Missing ⚠️
icegatherer.go 76.92% 3 Missing ⚠️
icetransport.go 83.33% 1 Missing and 2 partials ⚠️
... and 14 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2985      +/-   ##
==========================================
+ Coverage   78.00%   78.47%   +0.46%     
==========================================
  Files          89       89              
  Lines       10582    11037     +455     
==========================================
+ Hits         8255     8661     +406     
- Misses       1838     1890      +52     
+ Partials      489      486       -3     
Flag Coverage Δ
go 80.01% <89.29%> (+0.43%) ⬆️
wasm 63.61% <74.74%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Sean-Der
Copy link
Copy Markdown
Member

Sean-Der commented Jan 2, 2025

Amazing! This is exactly what we need @joeturki

If you are overwhelmed by the lints you can just upgrade versions/disable more and we can iterate on it!

@JoTurk JoTurk marked this pull request as draft January 17, 2025 16:39
Introduces new linters, upgrade golangci-lint to version (v1.63.4)
@JoTurk JoTurk marked this pull request as ready for review January 18, 2025 13:18
@JoTurk JoTurk merged commit feeeebf into master Jan 18, 2025
@JoTurk JoTurk deleted the impr/basic-lint branch January 18, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants