See, $ gometalinter --vendor --deadline 10m --disable-all --enable=megacheck ./... pkg/login/ldap.go:188:40:warning: should omit comparison to bool constant, can be simplified to !*extUser.IsGrafanaAdmin (S1002) (megacheck)
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
auth.go | Loading commit data... | |
auth_test.go | Loading commit data... | |
brute_force_login_protection.go | Loading commit data... | |
brute_force_login_protection_test.go | Loading commit data... | |
ext_user.go | Loading commit data... | |
grafana_login.go | Loading commit data... | |
grafana_login_test.go | Loading commit data... | |
ldap.go | Loading commit data... | |
ldap_login.go | Loading commit data... | |
ldap_login_test.go | Loading commit data... | |
ldap_settings.go | Loading commit data... | |
ldap_test.go | Loading commit data... | |
ldap_user.go | Loading commit data... |