diff options
author | Quang-Minh Nguyen <qmnguyen@gitlab.com> | 2023-06-21 11:30:21 +0300 |
---|---|---|
committer | Quang-Minh Nguyen <qmnguyen@gitlab.com> | 2023-06-26 14:36:49 +0300 |
commit | 7b5689f42873d3a13921b2c008359c599451ceac (patch) | |
tree | b38da8646e3d3b56d8ebc1ba2068ae272a2b882f /tools/golangci-lint/gitaly/quote.go | |
parent | 6ac87a72f42d764de827836a56c726e6d21ee96e (diff) |
Implement a linter to discourage future usage of Unavailable code
The prior commit fixes inelligible usages of Unavailable status codes.
To prevent this situation from happening in the future, this commit
implements a linter that it warns occurrences where Unavailable code is
used. Engineers can ignore it by adding a comment, but at least this
practice catches their eyes.
Diffstat (limited to 'tools/golangci-lint/gitaly/quote.go')
0 files changed, 0 insertions, 0 deletions