You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
47 lines
1.1 KiB
run: |
|
tests: false |
|
modules-download-mode: readonly |
|
|
|
issues: |
|
# The linter has a default list of ignorable errors. Turning this on will enable that list. |
|
exclude-use-default: false |
|
|
|
# Maximum issues count per one linter. Set to 0 to disable. Default is 50. |
|
max-issues-per-linter: 0 |
|
|
|
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3. |
|
max-same-issues: 0 |
|
|
|
exclude: |
|
- Subprocess launch(ed with variable|ing should be audited) |
|
- Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*print(f|ln)?|os\.(Un)?Setenv). is not checked |
|
- G307 # Allow closing files as a defer without checking error. |
|
- composite literal uses unkeyed fields |
|
|
|
linters: |
|
enable: |
|
- bodyclose |
|
- dupl |
|
- errcheck |
|
- exportloopref |
|
- goconst |
|
- godot |
|
- godox |
|
- goimports |
|
- goprintffuncname |
|
- gosec |
|
- govet |
|
- misspell |
|
- prealloc |
|
- revive |
|
- rowserrcheck |
|
- sqlclosecheck |
|
- staticcheck |
|
- unconvert |
|
- unparam |
|
- whitespace |
|
|
|
linters-settings: |
|
govet: |
|
disable: |
|
- composite
|
|
|