Content-Length: 288823 | pFad | http://github.com/golangci/golangci-lint/commit/#start-of-content

6847BDC8 docs: update gomoddirectives configuration · golangci/golangci-lint@b324a61 · GitHub
Skip to content

Commit b324a61

Browse files
committed
docs: update gomoddirectives configuration
1 parent 51f1a17 commit b324a61

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/golangci/golangci-lint/commit/#start-of-content

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy