Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb324a61

Browse files
committed
docs: update gomoddirectives configuration
1 parent51f1a17 commitb324a61

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎.golangci.next.reference.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,9 @@ linters:
13131313
# Forbid the use of the `exclude` directives.
13141314
# Default: false
13151315
exclude-forbidden:true
1316+
# Forbid the use of the `ignore` directives (>= go1.25).
1317+
# Default: false
1318+
ignore-forbidden:true
13161319
# Forbid the use of the `toolchain` directive.
13171320
# Default: false
13181321
toolchain-forbidden:true

‎jsonschema/golangci.next.jsonschema.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,6 +2004,11 @@
20042004
"type":"boolean",
20052005
"default":false
20062006
},
2007+
"ignore-forbidden": {
2008+
"description":"Forbid the use of the `ignore` directives. (>= go1.25)",
2009+
"type":"boolean",
2010+
"default":false
2011+
},
20072012
"toolchain-forbidden": {
20082013
"description":"Forbid the use of the `toolchain` directive.",
20092014
"type":"boolean",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp