Skip to content

Commit ccd1950

Browse files
committed
drop underscore nolint directive
1 parent 08f5873 commit ccd1950

File tree

288 files changed

+296
-287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+296
-287
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ linters:
8686
- name: unreachable-code
8787
- name: var-declaration
8888
- name: var-naming
89+
arguments:
90+
- [] #AllowList - do not remove as args for the rule are positional and won't work without lists first
91+
- [] #DenyList
92+
- - skip-package-name-checks: true # supress errors from underscore in migration packages
8993
staticcheck:
9094
checks:
9195
- all

models/migrations/v1_10/v100.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import (
77
"net/url"

models/migrations/v1_10/v101.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import (
77
"xorm.io/xorm"

models/migrations/v1_10/v88.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import (
77
"crypto/sha1"

models/migrations/v1_10/v89.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import "xorm.io/xorm"
77

models/migrations/v1_10/v90.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import "xorm.io/xorm"
77

models/migrations/v1_10/v91.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import "xorm.io/xorm"
77

models/migrations/v1_10/v92.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import (
77
"xorm.io/builder"

models/migrations/v1_10/v93.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import "xorm.io/xorm"
77

models/migrations/v1_10/v94.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_10 //nolint:revive // version underscore
4+
package v1_10
55

66
import "xorm.io/xorm"
77

0 commit comments

Comments
 (0)