# HG changeset patch # User Axel Prel <axel.prel@xcg-consulting.fr> # Date 1742301466 -3600 # Tue Mar 18 13:37:46 2025 +0100 # Node ID 0ac85576de99354517d34ca5ccd77e754224b93e # Parent 2968486618a353ee105d017826a7851832d8a08d enable decorder linter diff --git a/.golangci.yml b/.golangci.yml --- a/.golangci.yml +++ b/.golangci.yml @@ -29,7 +29,7 @@ - contextcheck # check the function whether use a non-inherited context bugs v1.43.0 - copyloopvar # Copyloopvar is a linter detects places where loop variables are copied. style v1.57.0 # - cyclop # checks function and package cyclomatic complexity complexity v1.37.0 - # - decorder # check declaration order and count of types, constants, variables and functions format, style v1.44.0 + - decorder # check declaration order and count of types, constants, variables and functions format, style v1.44.0 # - depguard # Go linter that checks if package imports are in a list of acceptable packages style, import, module v1.4.0 - dogsled # Checks assignments with too many blank identifiers (e.g. x, , , _, := f()) style v1.19.0 - dupl # Tool for code clone detection style v1.0.0