Skip to content

Commit d66c142

Browse files
committed
scope nolint directive for underscore in packages
1 parent 2822a5e commit d66c142

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

services/oauth2_provider/access_token.go

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

4-
package oauth2_provider //nolint
4+
package oauth2_provider //nolint:revive // underscore in package name
55

66
import (
77
"context"

services/oauth2_provider/additional_scopes_test.go

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

4-
package oauth2_provider //nolint
4+
package oauth2_provider //nolint:revive // underscore in package name
55

66
import (
77
"testing"

services/oauth2_provider/init.go

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

4-
package oauth2_provider //nolint
4+
package oauth2_provider //nolint:revive // underscore in package name
55

66
import (
77
"context"

services/oauth2_provider/jwtsigningkey.go

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

4-
package oauth2_provider //nolint
4+
package oauth2_provider //nolint:revive // underscore in package name
55

66
import (
77
"crypto/ecdsa"

services/oauth2_provider/token.go

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

4-
package oauth2_provider //nolint
4+
package oauth2_provider //nolint:revive // underscore in package name
55

66
import (
77
"errors"

services/versioned_migration/migration.go

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

4-
package versioned_migration //nolint
4+
package versioned_migration //nolint:revive // underscore in package name
55

66
import (
77
"context"

0 commit comments

Comments
 (0)