alingse / sundrylint

three thousand real world bug linter
MIT License
5 stars 0 forks source link

Add repeatargs report call func with repeat args from a sub-func #10

Closed alingse closed 4 months ago

alingse commented 4 months ago

the job config is https://github.com/alingse/sundrylint/commit/05d1dfec5fb04b15432b3b7e264a5428de977743 and result see https://github.com/alingse/sundrylint/issues/11

alingse commented 4 months ago

from the lint result, we think this idea should covert to report the duplicate options

like this

err := client.Export(ctx, dstFile, 
        archive.WithImage(client.ImageService(), testImage), 
        archive.WithPlatform(platforms.All), 
        archive.WithImage(client.ImageService(), testImage))