Skip to content

Commit 8b29195

Browse files
committed
docs: missing doc link for sloglint.args-on-sep-lines
1 parent aa6b8f8 commit 8b29195

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

.golangci.next.reference.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2799,47 +2799,48 @@ linters-settings:
27992799

28002800
sloglint:
28012801
# Enforce not mixing key-value pairs and attributes.
2802-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#no-mixed-arguments
2802+
# https://github.com/go-simpler/sloglint#no-mixed-arguments
28032803
# Default: true
28042804
no-mixed-args: false
28052805
# Enforce using key-value pairs only (overrides no-mixed-args, incompatible with attr-only).
2806-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#key-value-pairs-only
2806+
# https://github.com/go-simpler/sloglint#key-value-pairs-only
28072807
# Default: false
28082808
kv-only: true
28092809
# Enforce using attributes only (overrides no-mixed-args, incompatible with kv-only).
2810-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#attributes-only
2810+
# https://github.com/go-simpler/sloglint#attributes-only
28112811
# Default: false
28122812
attr-only: true
28132813
# Enforce not using global loggers.
28142814
# Values:
28152815
# - "": disabled
28162816
# - "all": report all global loggers
28172817
# - "default": report only the default slog logger
2818-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#no-global
2818+
# https://github.com/go-simpler/sloglint#no-global
28192819
# Default: ""
28202820
no-global: "all"
28212821
# Enforce using methods that accept a context.
28222822
# Values:
28232823
# - "": disabled
28242824
# - "all": report all contextless calls
28252825
# - "scope": report only if a context exists in the scope of the outermost function
2826-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#context-only
2826+
# https://github.com/go-simpler/sloglint#context-only
28272827
# Default: ""
28282828
context: "all"
28292829
# Enforce using static values for log messages.
2830-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#static-messages
2830+
# https://github.com/go-simpler/sloglint#static-messages
28312831
# Default: false
28322832
static-msg: true
28332833
# Enforce using constants instead of raw keys.
2834-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#no-raw-keys
2834+
# https://github.com/go-simpler/sloglint#no-raw-keys
28352835
# Default: false
28362836
no-raw-keys: true
28372837
# Enforce a single key naming convention.
28382838
# Values: snake, kebab, camel, pascal
2839-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#key-naming-convention
2839+
# https://github.com/go-simpler/sloglint#key-naming-convention
28402840
# Default: ""
28412841
key-naming-case: snake
28422842
# Enforce not using specific keys.
2843+
# https://github.com/go-simpler/sloglint#forbidden-keys
28432844
# Default: []
28442845
forbidden-keys:
28452846
- time
@@ -2848,7 +2849,7 @@ linters-settings:
28482849
- source
28492850
- foo
28502851
# Enforce putting arguments on separate lines.
2851-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#forbidden-keys
2852+
# https://github.com/go-simpler/sloglint#arguments-on-separate-lines
28522853
# Default: false
28532854
args-on-sep-lines: true
28542855

.golangci.reference.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2799,47 +2799,48 @@ linters-settings:
27992799

28002800
sloglint:
28012801
# Enforce not mixing key-value pairs and attributes.
2802-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#no-mixed-arguments
2802+
# https://github.com/go-simpler/sloglint#no-mixed-arguments
28032803
# Default: true
28042804
no-mixed-args: false
28052805
# Enforce using key-value pairs only (overrides no-mixed-args, incompatible with attr-only).
2806-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#key-value-pairs-only
2806+
# https://github.com/go-simpler/sloglint#key-value-pairs-only
28072807
# Default: false
28082808
kv-only: true
28092809
# Enforce using attributes only (overrides no-mixed-args, incompatible with kv-only).
2810-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#attributes-only
2810+
# https://github.com/go-simpler/sloglint#attributes-only
28112811
# Default: false
28122812
attr-only: true
28132813
# Enforce not using global loggers.
28142814
# Values:
28152815
# - "": disabled
28162816
# - "all": report all global loggers
28172817
# - "default": report only the default slog logger
2818-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#no-global
2818+
# https://github.com/go-simpler/sloglint#no-global
28192819
# Default: ""
28202820
no-global: "all"
28212821
# Enforce using methods that accept a context.
28222822
# Values:
28232823
# - "": disabled
28242824
# - "all": report all contextless calls
28252825
# - "scope": report only if a context exists in the scope of the outermost function
2826-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#context-only
2826+
# https://github.com/go-simpler/sloglint#context-only
28272827
# Default: ""
28282828
context: "all"
28292829
# Enforce using static values for log messages.
2830-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#static-messages
2830+
# https://github.com/go-simpler/sloglint#static-messages
28312831
# Default: false
28322832
static-msg: true
28332833
# Enforce using constants instead of raw keys.
2834-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#no-raw-keys
2834+
# https://github.com/go-simpler/sloglint#no-raw-keys
28352835
# Default: false
28362836
no-raw-keys: true
28372837
# Enforce a single key naming convention.
28382838
# Values: snake, kebab, camel, pascal
2839-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#key-naming-convention
2839+
# https://github.com/go-simpler/sloglint#key-naming-convention
28402840
# Default: ""
28412841
key-naming-case: snake
28422842
# Enforce not using specific keys.
2843+
# https://github.com/go-simpler/sloglint#forbidden-keys
28432844
# Default: []
28442845
forbidden-keys:
28452846
- time
@@ -2848,7 +2849,7 @@ linters-settings:
28482849
- source
28492850
- foo
28502851
# Enforce putting arguments on separate lines.
2851-
# https://github.com/go-simpler/sloglint?tab=readme-ov-file#forbidden-keys
2852+
# https://github.com/go-simpler/sloglint#arguments-on-separate-lines
28522853
# Default: false
28532854
args-on-sep-lines: true
28542855

0 commit comments

Comments
 (0)