summaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_13
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-20 04:08:01 +0200
committerGitHub <noreply@github.com>2023-04-19 22:08:01 -0400
commit938b59199480d1b3730388982eb87d592e976849 (patch)
treefcbbeea0c67dca1cda1ef87a6b3c0748105a8610 /models/migrations/v1_13
parent594efb9b669fb12e8a0306f76c740fa72c1a80f1 (diff)
downloadgitea-938b59199480d1b3730388982eb87d592e976849.tar.gz
gitea-938b59199480d1b3730388982eb87d592e976849.zip
Remove most path-based golangci exclusions (#24214)
They are non-obvious and do not survive refactor. Will replace with `//nolint` comments after CI results are in.
Diffstat (limited to 'models/migrations/v1_13')
-rw-r--r--models/migrations/v1_13/v140.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/models/migrations/v1_13/v140.go b/models/migrations/v1_13/v140.go
index 4d87b955fd..30c1bc07d2 100644
--- a/models/migrations/v1_13/v140.go
+++ b/models/migrations/v1_13/v140.go
@@ -22,10 +22,10 @@ func FixLanguageStatsToSaveSize(x *xorm.Engine) error {
type RepoIndexerType int
const (
- // RepoIndexerTypeCode code indexer
- RepoIndexerTypeCode RepoIndexerType = iota // 0
- // RepoIndexerTypeStats repository stats indexer
- RepoIndexerTypeStats // 1
+ // RepoIndexerTypeCode code indexer - 0
+ RepoIndexerTypeCode RepoIndexerType = iota //nolint:unused
+ // RepoIndexerTypeStats repository stats indexer - 1
+ RepoIndexerTypeStats
)
// RepoIndexerStatus see models/repo_indexer.go