mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2024-12-22 10:58:01 +00:00
50 lines
1.0 KiB
YAML
50 lines
1.0 KiB
YAML
---
|
|
run:
|
|
timeout: 10m
|
|
issues:
|
|
max-same-issues: 0
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- goimports
|
|
- ineffassign
|
|
- nakedret
|
|
- revive
|
|
- staticcheck
|
|
- stylecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
linters-settings:
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
revive:
|
|
ignore-generated-header: true
|
|
severity: warning
|
|
confidence: 0.8
|
|
rules:
|
|
- name: blank-imports
|
|
- name: context-as-argument
|
|
- name: context-keys-type
|
|
- name: dot-imports
|
|
- name: error-return
|
|
- name: error-strings
|
|
- name: error-naming
|
|
- name: exported
|
|
- name: increment-decrement
|
|
- name: var-naming
|
|
- name: var-declaration
|
|
- name: package-comments
|
|
- name: range
|
|
- name: receiver-naming
|
|
- name: time-naming
|
|
- name: unexported-return
|
|
- name: indent-error-flow
|
|
- name: errorf
|
|
- name: empty-block
|
|
- name: superfluous-else
|
|
- name: unused-parameter
|
|
- name: unreachable-code
|
|
- name: redefines-builtin-id
|