Skip to content

Commit f9be7cc

Browse files
committed
review: change max defautl to 1000
1 parent 8def41f commit f9be7cc

File tree

5 files changed

+1013
-5
lines changed

5 files changed

+1013
-5
lines changed

.golangci.next.reference.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,8 @@ linters-settings:
541541
# Default false
542542
ignore-comments: true
543543
# Max number of lines in a file.
544-
# Default: 500
545-
max-lines: 1000
544+
# Default: 1000
545+
max-lines: 500
546546
# Min number of lines in a file.
547547
# Default: 5
548548
min-lines: 1

jsonschema/golangci.next.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@
10241024
"max-lines": {
10251025
"description": "Max number of lines in a file.",
10261026
"type": "integer",
1027-
"default": 500
1027+
"default": 1000
10281028
},
10291029
"min-lines": {
10301030
"description": "Min number of lines in a file.",

pkg/config/linters_settings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var defaultLintersSettings = LintersSettings{
4242
},
4343
Filen: FilenSettings{
4444
MinLines: 5,
45-
MaxLines: 500,
45+
MaxLines: 1000,
4646
IgnoreComments: false,
4747
},
4848
Forbidigo: ForbidigoSettings{

0 commit comments

Comments
 (0)