Chore: explore possibilities of using makefile (#17039)
* Chore: explore possibilities of using makefile This is an exploratory commit - I wanted to see how revive/gosec linters could be integrated with makefile and our build scripts. Looks better then I expected :) * Chore: make revive happy Revive execution was not supplied with path, if you restore there is couple errors that were popping up - so I fixed them * Chore: make revive happy
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"G302": "0660",
|
||||
"G301": "0755"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
ignoreGeneratedHeader = false
|
||||
severity = "error"
|
||||
confidence = 0.8
|
||||
errorCode = 0
|
||||
|
||||
[rule.context-as-argument]
|
||||
[rule.error-return]
|
||||
[rule.package-comments]
|
||||
[rule.range]
|
||||
[rule.superfluous-else]
|
||||
[rule.modifies-parameter]
|
||||
[rule.indent-error-flow]
|
||||
[rule.error-strings]
|
||||
[rule.error-naming]
|
||||
|
||||
# This can be checked by other tools like megacheck
|
||||
[rule.unreachable-code]
|
||||
|
||||
# Those are probably should be enabled at some point
|
||||
# [rule.unexported-return]
|
||||
# [rule.exported]
|
||||
# [rule.var-naming]
|
||||
# [rule.dot-imports]
|
||||
# [rule.receiver-naming]
|
||||
# [rule.blank-imports]
|
||||
Reference in New Issue
Block a user