Skip to content

Commit 14f98bb

Browse files
committed
docs: improve default values
1 parent 86245ed commit 14f98bb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.golangci.next.reference.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ run:
6060
# output configuration options
6161
output:
6262
# The formats used to render issues.
63-
# Format: colored-line-number|line-number|json|colored-tab|tab|checkstyle|code-climate|junit-xml|github-actions|teamcity
63+
# Format: `colored-line-number`, `line-number`, `json`, `colored-tab`, `tab`, `checkstyle`, `code-climate`, `junit-xml`, `github-actions`, `teamcity`
6464
# Output path can be either `stdout`, `stderr` or path to the file to write to.
6565
#
6666
# For the CLI flag (`--out-format`), multiple formats can be specified by separating them by comma.
6767
# The output can be specified for each of them by separating format name and path by colon symbol.
6868
# Example: "--out-format=checkstyle:report.xml,json:stdout,colored-line-number"
6969
# The CLI flag (`--out-format`) override the configuration file.
7070
#
71-
# Default: colored-line-number
71+
# Default: `format: colored-line-number` and `path: stdout`
7272
formats:
7373
- format: json
7474
path: stderr

jsonschema/golangci.next.jsonschema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@
456456
"additionalProperties": false,
457457
"properties": {
458458
"path": {
459+
"default": "stdout",
459460
"anyOf": [
460461
{
461462
"enum": [ "stdout", "stderr" ]

0 commit comments

Comments
 (0)