about summary refs log tree commit diff stats
path: root/.golangci.yaml
diff options
context:
space:
mode:
authorAlan Pearce2024-05-02 13:55:48 +0200
committerAlan Pearce2024-05-02 22:40:38 +0200
commit7ad48953a4d9470d2f4fe89343c0b09bff410c58 (patch)
tree9aa74fcb05f51df6b56d1a6025217dd3c5075a4b /.golangci.yaml
downloadsearchix-7ad48953a4d9470d2f4fe89343c0b09bff410c58.tar.lz
searchix-7ad48953a4d9470d2f4fe89343c0b09bff410c58.tar.zst
searchix-7ad48953a4d9470d2f4fe89343c0b09bff410c58.zip
chore: initial commit
Diffstat (limited to '.golangci.yaml')
-rw-r--r--.golangci.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
new file mode 100644
index 0000000..4567686
--- /dev/null
+++ b/.golangci.yaml
@@ -0,0 +1,23 @@
+---
+# yamllint disable-line rule:line-length
+# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json
+linters:
+    fast: false
+    enable:
+        - gocritic
+        - godox
+        - gosec
+        - grouper
+        - lll
+        - nilerr
+        - nilnil
+        - nlreturn
+        - noctx
+        - nosprintfhostport
+        - paralleltest
+        - prealloc
+        - reassign
+        - revive
+        - sloglint
+        - unconvert
+        - wrapcheck