From 98788ec5d60a7bf6552d49bf9cde74dcc7ba5284 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 1 Jan 2023 22:16:27 -0700 Subject: lint: Turn on tagliatelle --- .golangci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3