mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-30 12:58:16 +03:00
2a4b26ed20
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.5.6 to 1.6.0. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.5.6...v1.6.0) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
105 lines
2.3 KiB
YAML
105 lines
2.3 KiB
YAML
run:
|
|
deadline: 10m
|
|
|
|
issues:
|
|
exclude-use-default: false
|
|
exclude-rules:
|
|
- path: _test.go
|
|
linters:
|
|
- errcheck
|
|
- lll
|
|
exclude:
|
|
- "Package util"
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- typecheck
|
|
- unused
|
|
- gofmt
|
|
- godot
|
|
- makezero
|
|
- misspell
|
|
- revive
|
|
- wastedassign
|
|
- lll
|
|
|
|
linters-settings:
|
|
revive:
|
|
severity: "warning"
|
|
confidence: 0.8
|
|
rules:
|
|
- name: blank-imports
|
|
severity: warning
|
|
disabled: false
|
|
- name: context-as-argument
|
|
severity: warning
|
|
disabled: false
|
|
- name: context-keys-type
|
|
severity: warning
|
|
disabled: false
|
|
- name: dot-imports
|
|
severity: warning
|
|
disabled: true
|
|
- name: error-return
|
|
severity: warning
|
|
disabled: false
|
|
- name: error-strings
|
|
severity: warning
|
|
disabled: false
|
|
- name: error-naming
|
|
severity: warning
|
|
disabled: false
|
|
- name: exported
|
|
severity: warning
|
|
disabled: false
|
|
- name: increment-decrement
|
|
severity: warning
|
|
disabled: false
|
|
- name: var-naming
|
|
severity: warning
|
|
disabled: false
|
|
- name: var-declaration
|
|
severity: warning
|
|
disabled: false
|
|
- name: package-comments
|
|
severity: warning
|
|
disabled: false
|
|
- name: range
|
|
severity: warning
|
|
disabled: false
|
|
- name: receiver-naming
|
|
severity: warning
|
|
disabled: false
|
|
- name: time-naming
|
|
severity: warning
|
|
disabled: false
|
|
- name: unexported-return
|
|
severity: warning
|
|
disabled: false
|
|
- name: indent-error-flow
|
|
severity: warning
|
|
disabled: false
|
|
- name: errorf
|
|
severity: warning
|
|
disabled: false
|
|
- name: empty-block
|
|
severity: warning
|
|
disabled: true
|
|
- name: superfluous-else
|
|
severity: warning
|
|
disabled: false
|
|
- name: unused-parameter
|
|
severity: warning
|
|
disabled: true
|
|
- name: unreachable-code
|
|
severity: warning
|
|
disabled: false
|
|
- name: redefines-builtin-id
|
|
severity: warning
|
|
disabled: false
|