jaegertracing/jaeger

Enable more revive linter rules

Open

#5,506 建立於 2024年6月2日

在 GitHub 查看
 (25 留言) (0 反應) (0 負責人)Go (18,974 star) (2,326 fork)batch import
good first issuehelp wanted

描述

In #5505 we introduced a revive linter, but had to disable many of its rules because they were breaking on some places in the code. https://github.com/jaegertracing/jaeger/blob/b38d2f9bc18806b6e716f6f666a786f0aca7d912/.golangci.yml#L154

We can re-enable those rules incrementally by fixing the corresponding breaks one rule at a time (make lint should succeed) and removing the disabling entry from the config.

Strong advice: DO NOT OPEN A PR without discussing the impact of the specific linter on this issue first. We don't want very possible linter - some of them are stupid, others require a lot of code changes with minimal benefits.

貢獻者指南

Enable more revive linter rules · jaegertracing/jaeger#5506 | Good First Issue