From 18a0dc2f6d7f24ee481ab566c377695a24f07e1a Mon Sep 17 00:00:00 2001 From: martha-johnston Date: Tue, 5 Nov 2024 11:23:05 -0500 Subject: [PATCH] disable some lint checks --- etc/golangci.yaml | 2 ++ pca9685/pca9685.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/golangci.yaml b/etc/golangci.yaml index 7db848f..b4ab545 100644 --- a/etc/golangci.yaml +++ b/etc/golangci.yaml @@ -33,6 +33,7 @@ linters: - importas - interfacebloat - interfacer + - intrange - ireturn - maintidx - maligned @@ -40,6 +41,7 @@ linters: - musttag - nakedret - nestif + - nilnil - nlreturn - nosnakecase - nonamedreturns diff --git a/pca9685/pca9685.go b/pca9685/pca9685.go index 0d06d35..9601ea5 100644 --- a/pca9685/pca9685.go +++ b/pca9685/pca9685.go @@ -21,7 +21,7 @@ import ( "go.viam.com/rdk/resource" ) -// Model for viam supported pca9685 board +// Model for viam supported pca9685 board. var Model = resource.NewModel("viam", "pca", "pca9685") var (