You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/11/24 12:53:05 UTC

[camel-k] 17/19: fix(lint): tweak golangci-lint

This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit c0d69139c5c5a1114e3f030c487397a892b3abfa
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Tue Nov 23 00:23:36 2021 +0100

    fix(lint): tweak golangci-lint
---
 .golangci.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/.golangci.yml b/.golangci.yml
index 94f64cc..d9979d7 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -18,6 +18,8 @@
 linters-settings:
   lll:
     line-length: 170
+  goconst:
+    ignore-tests: true
 linters:
   enable-all: true
   disable:
@@ -35,6 +37,27 @@ linters:
     - cyclop
     - exhaustivestruct
     - gochecknoglobals
+    - testpackage
+    - goerr113
+    - varnamelen
+    - tagliatelle
+    - paralleltest
+    - wrapcheck
+    - ireturn
+    - gofumpt
+    - gci
+    - wsl
+    - goconst
+    - tenv
+    - whitespace
+    - gocyclo
+    - nlreturn
+    - nilnil
+    - exhaustive
+    - noctx
+    - nakedret
+    - contextcheck
+    - maligned
 
 issues:
   exclude-rules: