aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yaml
diff options
context:
space:
mode:
authorNicolas Peugnet <n.peugnet@free.fr>2021-09-13 11:32:53 +0200
committerGitHub <noreply@github.com>2021-09-13 11:32:53 +0200
commite8b48ddece267bfde7c0565a8ec39fd5b53cee72 (patch)
tree92cbb6d95e126d0e89a96e86f8f2f672141d64c3 /.golangci.yaml
parent4168e8c6ed41fa4cb53dfded67caed79a82e8789 (diff)
downloaddna-backup-e8b48ddece267bfde7c0565a8ec39fd5b53cee72.tar.gz
dna-backup-e8b48ddece267bfde7c0565a8ec39fd5b53cee72.zip
Add golangci job to build workflow (#2)
* Update build.yml * disable golang-ci for tests * fix args syntax * make errchek only a warning * report only new lint issues
Diffstat (limited to '.golangci.yaml')
-rw-r--r--.golangci.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
new file mode 100644
index 0000000..7c47848
--- /dev/null
+++ b/.golangci.yaml
@@ -0,0 +1,10 @@
+run:
+ tests: false
+
+severity:
+ default-severity: error
+ rules:
+ - severity: warning
+ linters:
+ - errcheck # for now, make errcheck only a warning, remove it later
+ - deadcode