cleanup: enable revive(package-comments) checking
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
This commit is contained in:
parent
b69ead80d8
commit
b695e5da36
|
@ -66,6 +66,7 @@ linters-settings:
|
|||
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#if-return
|
||||
- name: if-return
|
||||
disabled: true
|
||||
- name: package-comments
|
||||
- name: superfluous-else
|
||||
arguments:
|
||||
- preserveScope
|
||||
|
|
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
// metrics packages contains metrics which are exposed from the HPA controller.
|
||||
// Package monitor contains metrics which are exposed from the HPA controller.
|
||||
package monitor
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in New Issue