grafana/pkg
Oleg Gaidarenko 04b3afcd15
Chore: Implement revive (#16200)
Since we do not like some of the default golint rules,
this commit proposes to use https://github.com/mgechev/revive.

And potential revive speed-up should't hurt :).

Right now, presented config (./conf/revive.toml) is permissive,
we might improve it over time however. Fixes for found revive
issues in the code are very limited so it wouldn't be large to review.

Also in this commit:

* Add annotations for makefile commands and declare phony targets

* Rename "gometalinter" script and CI command to "lint"
  since we are doing there a bit more then using gometalinter package

* Add Makefile rules to .editorconfig

* Documentation which mentioned "golint" replaced with revive

Fixes #16109
Ref #16160
2019-03-27 17:53:49 +01:00
..
api Alerting: Notification channel http api enhancements (#16219) 2019-03-26 18:37:02 +07:00
bus bus: noop should still execute fn 2018-06-15 12:46:20 +02:00
cmd Chore: Implement revive (#16200) 2019-03-27 17:53:49 +01:00
components removes error2 logger 2019-01-15 11:49:18 +01:00
events feat(signup): progress on new sign up and email verification flow, #2353 2015-08-28 15:14:24 +02:00
extensions add gopkg.in/square/go-jose.v2 to dependencies, update github.com/hashicorp/yamux 2018-10-08 17:11:24 -04:00
infra Chore: Implement revive (#16200) 2019-03-27 17:53:49 +01:00
log log phantomjs output even if it timeout and include orgId when render alert 2019-03-06 13:53:23 +01:00
login Use grafana's logger implementation 2019-03-21 08:13:03 -04:00
middleware teams: better names for api permissions. 2019-03-19 14:01:20 +01:00
models Alerting: Notification channel http api enhancements (#16219) 2019-03-26 18:37:02 +07:00
plugins Changed noQueries to a dataFormats array that will allow a panel to define supported formats and prefered (first in array) 2019-02-12 16:05:29 +01:00
registry add functionality to override service in registry 2018-10-30 13:37:30 +01:00
services Fix: Alert email variable name typo fixed (#16232) 2019-03-27 09:42:20 +01:00
setting config: updated feature toggle name 2019-03-19 13:59:39 +01:00
tsdb InfluxDB: Fix tag names with periods in alerting (#16255) 2019-03-27 23:13:12 +07:00
util fix util for splitting host and port 2019-02-04 13:10:32 +01:00