Skip to content

Commit 807130d

Browse files
committed
refactor(linters): disable var-naming rule in revive config
Updated revive configuration to disable the var-naming rule for improved flexibility in variable naming conventions.
1 parent 6dbfb20 commit 807130d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.golangci.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,12 @@
191191
"simple": true
192192
},
193193
"revive": {
194-
"config": ".revive.toml"
194+
"rules": [
195+
{
196+
"name": "var-naming",
197+
"disabled": true
198+
}
199+
]
195200
},
196201
"unparam": {
197202
"check-exported": false

pkg/types/types.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// Package types defines the core data structures and interfaces for the BSV Overlay Discovery Services.
22
// enabling interaction with SHIP (Service Host Interconnect Protocol) and SLAP (Service Lookup Availability Protocol) systems.
3-
//
4-
//nolint:revive // Package name is descriptive in context
53
package types
64

75
import (

pkg/utils/validation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//nolint // utils is a standard package name for utility functions
1+
// Package utils provides utility functions for validating URIs and service names.
22
package utils
33

44
import (

0 commit comments

Comments
 (0)