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.
49 lines
1.0 KiB
49 lines
1.0 KiB
run: |
|
timeout: 2m |
|
issues-exit-code: 1 |
|
tests: true |
|
|
|
issues: |
|
max-same-issues: 100 |
|
exclude-rules: |
|
- path: _test\.go |
|
linters: |
|
- bodyclose |
|
- errcheck |
|
- gosec |
|
|
|
linters: |
|
enable: |
|
- bodyclose |
|
- deadcode |
|
- errcheck |
|
- gofmt |
|
- revive |
|
- gosec |
|
- gosimple |
|
- govet |
|
- ineffassign |
|
- misspell |
|
- staticcheck |
|
- structcheck |
|
- typecheck |
|
- unused |
|
- varcheck |
|
|
|
output: |
|
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number" |
|
format: colored-line-number |
|
# print lines of code with issue, default is true |
|
print-issued-lines: true |
|
# print linter name in the end of issue text, default is true |
|
print-linter-name: true |
|
# make issues output unique by line, default is true |
|
uniq-by-line: true |
|
# add a prefix to the output file references; default is no prefix |
|
path-prefix: "" |
|
# sorts results by: filepath, line and column |
|
sort-results: true |
|
|
|
linters-settings: |
|
golint: |
|
min-confidence: 0.8
|
|
|