grafana/pkg/services/alerting
Oleg Gaidarenko caa1314f44
Build: use golangci-lint as a make command (#17739)
* Build: use golangci-lint as a make command

* Since gometalinter was deprecated in favor of golangci-lint so it was
  replaced by it. Responsibilities held by the gometalinter was moved to
  golangci-lint

* There was some changes in implementation (that was also mentioned in
  the code comment) between the tools, which uncovered couple errors
  in the code. Those issues were either solved or disabled by
  the inline comments

* Introduce the golangci-lint config, to make their
  configuration more manageable

* Build: replace backend-lint.sh script with make
2019-07-02 16:06:59 +03:00
..
conditions Alerting: Improve alert rule testing (#16286) 2019-06-25 08:52:17 +02:00
notifiers Build: use golangci-lint as a make command (#17739) 2019-07-02 16:06:59 +03:00
testdata Returned id for alert notifications which were created without uid 2019-01-16 16:52:00 +02:00
commands.go tech: avoid alias for importing models in alerting (#17041) 2019-05-14 08:15:05 +02:00
engine_integration_test.go Alerting: golint fixes for alerting (#17246) 2019-06-03 10:25:58 +02:00
engine_test.go Alerting: golint fixes for alerting (#17246) 2019-06-03 10:25:58 +02:00
engine.go Alerting: golint fixes for alerting (#17246) 2019-06-03 10:25:58 +02:00
eval_context_test.go alerting: fix a bunch of lint issues. (#17128) 2019-05-20 12:13:32 +02:00
eval_context.go Alerting: Improve alert rule testing (#16286) 2019-06-25 08:52:17 +02:00
eval_handler_test.go Alerting: move getNewState to EvalContext 2018-03-21 20:59:39 +01:00
eval_handler.go alerting: fix a bunch of lint issues. (#17128) 2019-05-20 12:13:32 +02:00
extractor_test.go alerting: fix a bunch of lint issues. (#17128) 2019-05-20 12:13:32 +02:00
extractor.go alerting: fix a bunch of lint issues. (#17128) 2019-05-20 12:13:32 +02:00
interfaces.go Alerting: golint fixes for alerting (#17246) 2019-06-03 10:25:58 +02:00
models.go metrics: expose stats about roles as metrics (#17469) 2019-06-06 16:39:35 +02:00
notifier.go Alerting: golint fixes for alerting (#17246) 2019-06-03 10:25:58 +02:00
reader.go alerting: fix a bunch of lint issues. (#17128) 2019-05-20 12:13:32 +02:00
result_handler.go Alerting: golint fixes for alerting (#17246) 2019-06-03 10:25:58 +02:00
rule_test.go tech: avoid alias for importing models in alerting (#17041) 2019-05-14 08:15:05 +02:00
rule.go Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
scheduler.go Alerting: golint fixes for alerting (#17246) 2019-06-03 10:25:58 +02:00
test_notification.go Alerting: golint fixes for alerting (#17246) 2019-06-03 10:25:58 +02:00
test_rule.go Alerting: Improve alert rule testing (#16286) 2019-06-25 08:52:17 +02:00
ticker_test.go moved icon (#10681) 2018-01-31 09:52:29 +01:00
ticker.go alerting: fix a bunch of lint issues. (#17128) 2019-05-20 12:13:32 +02:00