Skip to content

Commit 92b027b

Browse files
committed
chore: add more log for debug
1 parent b5d64dd commit 92b027b

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

config/linters-config/.golangci.goplus.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ linters-settings:
2121
disabled: true
2222
- name: unexported-return
2323
disabled: true
24+
- name: line-length-limit
25+
disabled: true
2426

2527
issues:
2628
exclude-rules:

config/linters-config/.golangci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ linters-settings:
1010
# still required to have `t.Parallel`, but subtests are allowed to skip it.
1111
# Default: false
1212
ignore-missing-subtests: true
13+
revive:
14+
enable-all-rules: true
15+
rules:
16+
- name: line-length-limit
17+
disabled: true
1318

1419
issues:
1520
exclude-rules:

internal/linters/go/golangci_lint/golangci_lint.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ func golangciLintHandler(log *xlog.Logger, a linters.Agent) error {
3535
log.Infof("golangci-lint config prepared: %v", path)
3636
}
3737

38+
log.Infof("golangci-lint run config: %v", a.LinterConfig)
3839
return linters.GeneralHandler(log, a, parser)
3940
}
4041

0 commit comments

Comments
 (0)