mirror of
https://github.com/ceph/go-ceph
synced 2024-12-11 17:06:58 +00:00
xxx
This commit is contained in:
parent
640791bfa9
commit
bc9122ba38
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
||||||
version: v1.47.3
|
version: latest
|
||||||
|
|
||||||
# Optional: working directory, useful for monorepos
|
# Optional: working directory, useful for monorepos
|
||||||
# working-directory: somedir
|
# working-directory: somedir
|
||||||
|
@ -4,11 +4,10 @@ run:
|
|||||||
- ceph_ci_untested
|
- ceph_ci_untested
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
# disable-all: true
|
disable-all: true
|
||||||
# enable-all: true
|
# enable-all: true
|
||||||
enable:
|
enable:
|
||||||
- revive # Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. [fast: false, auto-fix: false]
|
- revive # Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. [fast: false, auto-fix: false]
|
||||||
|
|
||||||
# Enabled by default linters:
|
# Enabled by default linters:
|
||||||
# - deadcode # Finds unused code [fast: false, auto-fix: false]
|
# - deadcode # Finds unused code [fast: false, auto-fix: false]
|
||||||
# - errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
|
# - errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
|
||||||
|
Loading…
Reference in New Issue
Block a user