cleanup: enable revive(package-comments) checking

Signed-off-by: zhzhuang-zju <m17799853869@163.com>
This commit is contained in:
zhzhuang-zju 2024-01-03 10:19:14 +08:00
parent b69ead80d8
commit b695e5da36
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 (