$X be modified when an error could be returned?
Run in CI
rules: - id: questionable-assignment patterns: - pattern-either: - pattern: ..., $X . $Y, ..., err = ... - pattern: ..., $X . $Y, ..., err := ... message: Should `$X` be modified when an error could be returned? languages: - go severity: WARNING metadata: license: CC-BY-NC-SA-4.0
Short Link: https://sg.run/qq6y