mirror of
https://github.com/super-linter/super-linter.git
synced 2025-02-24 00:21:08 -05:00
Some checks are pending
Publish Images / Build and Test (push) Waiting to run
Publish Images / Release (push) Blocked by required conditions
Build and Test / Set build metadata (push) Waiting to run
Build and Test / Build and Test (push) Blocked by required conditions
Build and Test / Test the Super-linter GitHub Action (push) Blocked by required conditions
Build and Test / Build test suite matrix (push) Waiting to run
Build and Test / Run test cases (push) Blocked by required conditions
Build and Test / Check if all the tests passed (push) Blocked by required conditions
Build and Test / preview-release-notes (push) Waiting to run
Lint commit / commitlint (push) Waiting to run
Remove deprecated maligned config value from the golang-ci configuration file. Close #6120
31 lines
708 B
YAML
31 lines
708 B
YAML
---
|
|
# Ref https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- dupl
|
|
- gosec
|
|
- goconst
|
|
linters:
|
|
enable:
|
|
- gosec
|
|
- unconvert
|
|
- gocyclo
|
|
- goconst
|
|
- goimports
|
|
- gocritic
|
|
- govet
|
|
- revive
|
|
linters-settings:
|
|
errcheck:
|
|
# report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
|
|
# default is false: such cases aren't reported by default.
|
|
check-blank: true
|
|
govet:
|
|
enable:
|
|
# report about shadowed variables
|
|
- shadowing
|
|
gocyclo:
|
|
# minimal code complexity to report, 30 by default
|
|
min-complexity: 15
|