Skip to content

Commit f5c2033

Browse files
committed
Add nolint directive to legacy SCIM command files
The auto-generated header previously suppressed linting. Now that it is removed, add an explicit nolint directive for staticcheck (deprecation warnings) and perfsprint. Co-authored-by: Isaac
1 parent 74cd5d0 commit f5c2033

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

cmd/account/groups/groups.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// but are now manually maintained because the v2 API versions have taken
33
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
44

5+
//nolint:staticcheck,perfsprint
56
package groups
67

78
import (

cmd/account/service-principals/service-principals.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// but are now manually maintained because the v2 API versions have taken
33
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
44

5+
//nolint:staticcheck,perfsprint
56
package service_principals
67

78
import (

cmd/account/users/users.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// but are now manually maintained because the v2 API versions have taken
33
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
44

5+
//nolint:staticcheck,perfsprint
56
package users
67

78
import (

cmd/workspace/groups/groups.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// but are now manually maintained because the v2 API versions have taken
33
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
44

5+
//nolint:staticcheck,perfsprint
56
package groups
67

78
import (

cmd/workspace/service-principals/service-principals.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// but are now manually maintained because the v2 API versions have taken
33
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
44

5+
//nolint:staticcheck,perfsprint
56
package service_principals
67

78
import (

cmd/workspace/users/users.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// but are now manually maintained because the v2 API versions have taken
33
// over as the generated commands. See https://github.com/databricks/cli/pull/4722.
44

5+
//nolint:staticcheck,perfsprint
56
package users
67

78
import (

0 commit comments

Comments
 (0)