summaryrefslogtreecommitdiff
path: root/.golangci.yml
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
commitcbdb7d1b3f14666ef44574b73bce07b80bf8d480 (patch)
treecf30be2ffcf63e1a66356cc7b613c5326c401b71 /.golangci.yml
parent6912dad34102be1ddea5f3b7710abd0cc8922d20 (diff)
lint: Turn on tagliatelle
Diffstat (limited to '.golangci.yml')
-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.