summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 22:16:27 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 22:42:08 -0700
commit98788ec5d60a7bf6552d49bf9cde74dcc7ba5284 (patch)
tree7456969be275195cc6707ea03c4e998ec2ac87db
parent6bc0a47b549617d31a74c6c78029208528cf2a55 (diff)
lint: Turn on tagliatelle
-rw-r--r--.golangci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 57f58a1..daa8d8c 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -42,7 +42,6 @@ linters:
- nlreturn
- nonamedreturns
- revive
- - tagliatelle
- testpackage
- thelper
- unconvert
@@ -80,6 +79,11 @@ linters-settings:
checks:
- "all"
- "-ST1003" # CONST_VAL names for consistency with other btrfs code
+ tagliatelle:
+ case:
+ use-field-name: true
+ rules:
+ json: pascal
issues:
exclude-rules:
# Ignore false positives that don't actually have any words.