Open yurishkuro opened 3 months ago
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
revive
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.
make lint
Is it okay to remove multiple rules in the same PR ?
Only if the changes are really small. I would recommend not mixing different changes / rules in one PR.
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#L154We 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.