mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-11-28 08:49:44 +02:00
bef0dfc3ea
* Add revive config for proper linting * Turn off rule for exported functions and structs need comments
31 lines
616 B
TOML
31 lines
616 B
TOML
ignoreGeneratedHeader = false
|
|
severity = "warning"
|
|
confidence = 0.8
|
|
errorCode = 0
|
|
warningCode = 0
|
|
|
|
[rule.blank-imports]
|
|
[rule.context-as-argument]
|
|
[rule.context-keys-type]
|
|
[rule.dot-imports]
|
|
[rule.error-return]
|
|
[rule.error-strings]
|
|
[rule.error-naming]
|
|
#[rule.exported]
|
|
[rule.if-return]
|
|
[rule.increment-decrement]
|
|
[rule.var-naming]
|
|
[rule.var-declaration]
|
|
[rule.package-comments]
|
|
[rule.range]
|
|
[rule.receiver-naming]
|
|
[rule.time-naming]
|
|
[rule.unexported-return]
|
|
[rule.indent-error-flow]
|
|
[rule.errorf]
|
|
[rule.empty-block]
|
|
[rule.superfluous-else]
|
|
[rule.unused-parameter]
|
|
[rule.unreachable-code]
|
|
[rule.redefines-builtin-id]
|