jaegertracing/jaeger

Enable more revive linter rules

Open

#5 506 ouverte le 2 juin 2024

Voir sur GitHub
 (26 commentaires) (0 réactions) (0 assignés)Go (2 326 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (18 974 stars)
Métriques de merge PR
 (Merge moyen 4j 11h) (85 PRs mergées en 30 j)

Description

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.

Guide contributeur