Skip to content

Commit c52160e

Browse files
committed
chore: clean configuration
1 parent 7892153 commit c52160e

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

.golangci.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -72,28 +72,6 @@ linters:
7272
- mnd
7373
- lll
7474

75-
# Deprecated linter options.
76-
- path: pkg/golinters/errcheck/errcheck.go
77-
linters: [staticcheck]
78-
text: "SA1019: errCfg.Exclude is deprecated: use ExcludeFunctions instead"
79-
- path: pkg/golinters/errcheck/errcheck.go
80-
linters: [staticcheck]
81-
text: "SA1019: errCfg.Ignore is deprecated: use ExcludeFunctions instead"
82-
- path: pkg/golinters/govet/govet.go
83-
linters: [staticcheck]
84-
text: "SA1019: cfg.CheckShadowing is deprecated: the linter should be enabled inside Enable."
85-
- path: pkg/golinters/godot/godot.go
86-
linters: [staticcheck]
87-
text: "SA1019: settings.CheckAll is deprecated: use Scope instead"
88-
- path: pkg/goformatters/gci/gci.go
89-
linters: [staticcheck]
90-
text: "SA1019: settings.LocalPrefixes is deprecated: use Sections instead."
91-
92-
# Related to `run.go`, it cannot be removed.
93-
- path: pkg/golinters/gofumpt/gofumpt.go
94-
linters: [staticcheck]
95-
text: "SA1019: settings.LangVersion is deprecated: use the global `run.go` instead."
96-
9775
# Based on existing code, the modifications should be limited to make maintenance easier.
9876
- path: pkg/golinters/unused/unused.go
9977
linters: [gocritic]

jsonschema/golangci.next.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4214,7 +4214,7 @@
42144214
"type": "boolean",
42154215
"default": false
42164216
},
4217-
"presets": {
4217+
"presets": {
42184218
"type": "array",
42194219
"items": {
42204220
"enum": [

0 commit comments

Comments
 (0)