feat: kubesphere 4.0 (#6115)
* feat: kubesphere 4.0 Signed-off-by: ci-bot <ci-bot@kubesphere.io> * feat: kubesphere 4.0 Signed-off-by: ci-bot <ci-bot@kubesphere.io> --------- Signed-off-by: ci-bot <ci-bot@kubesphere.io> Co-authored-by: ks-ci-bot <ks-ci-bot@example.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
committed by
GitHub
parent
b5015ec7b9
commit
447a51f08b
98
vendor/github.com/rubenv/sql-migrate/.golangci.yaml
generated
vendored
Normal file
98
vendor/github.com/rubenv/sql-migrate/.golangci.yaml
generated
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
linters-settings:
|
||||
gocritic:
|
||||
disabled-checks:
|
||||
- ifElseChain
|
||||
goimports:
|
||||
local-prefixes: github.com/rubenv/sql-migrate
|
||||
govet:
|
||||
enable-all: true
|
||||
disable:
|
||||
- fieldalignment
|
||||
depguard:
|
||||
list-type: blacklist
|
||||
include-go-root: true
|
||||
include-go-std-lib: true
|
||||
exhaustive:
|
||||
default-signifies-exhaustive: true
|
||||
nolintlint:
|
||||
allow-unused: false
|
||||
allow-leading-space: false
|
||||
allow-no-explanation:
|
||||
- depguard
|
||||
require-explanation: true
|
||||
require-specific: true
|
||||
revive:
|
||||
enable-all-rules: false
|
||||
rules:
|
||||
- name: atomic
|
||||
- name: blank-imports
|
||||
- name: bool-literal-in-expr
|
||||
- name: call-to-gc
|
||||
- name: constant-logical-expr
|
||||
- name: context-as-argument
|
||||
- name: context-keys-type
|
||||
- name: dot-imports
|
||||
- name: duplicated-imports
|
||||
- name: empty-block
|
||||
- name: empty-lines
|
||||
- name: error-naming
|
||||
- name: error-return
|
||||
- name: error-strings
|
||||
- name: errorf
|
||||
- name: exported
|
||||
- name: identical-branches
|
||||
- name: imports-blacklist
|
||||
- name: increment-decrement
|
||||
- name: indent-error-flow
|
||||
- name: modifies-parameter
|
||||
- name: modifies-value-receiver
|
||||
- name: package-comments
|
||||
- name: range
|
||||
- name: range-val-address
|
||||
- name: range-val-in-closure
|
||||
- name: receiver-naming
|
||||
- name: string-format
|
||||
- name: string-of-int
|
||||
- name: struct-tag
|
||||
- name: time-naming
|
||||
- name: unconditional-recursion
|
||||
- name: unexported-naming
|
||||
- name: unexported-return
|
||||
- name: superfluous-else
|
||||
- name: unreachable-code
|
||||
- name: var-declaration
|
||||
- name: waitgroup-by-value
|
||||
- name: unused-receiver
|
||||
- name: unnecessary-stmt
|
||||
- name: unused-parameter
|
||||
run:
|
||||
tests: true
|
||||
timeout: 1m
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- asciicheck
|
||||
- depguard
|
||||
- errcheck
|
||||
- exhaustive
|
||||
- gocritic
|
||||
- gofmt
|
||||
- gofumpt
|
||||
- goimports
|
||||
- govet
|
||||
- ineffassign
|
||||
- nolintlint
|
||||
- revive
|
||||
- staticcheck
|
||||
- typecheck
|
||||
- unused
|
||||
- whitespace
|
||||
- errorlint
|
||||
- gosimple
|
||||
- unparam
|
||||
issues:
|
||||
exclude:
|
||||
- 'declaration of "err" shadows declaration at' # Allow shadowing of `err` because it's so common
|
||||
- 'error-strings: error strings should not be capitalized or end with punctuation or a newline'
|
||||
max-same-issues: 10000
|
||||
max-issues-per-linter: 10000
|
||||
Reference in New Issue
Block a user