aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-12-05 20:49:41 +0200
committerGravatar GitHub <noreply@github.com> 2023-12-05 19:49:41 +0100
commit12949de784e688451205333ebaf87ec0ca16927d (patch)
tree66982ac74e3eefbb2137a24d4889a6d682433e36 /.golangci.yml
parentwriteBodyFixedSize: Only do an early flush if the reader is an *os.File (#1674) (diff)
downloadfasthttp-12949de784e688451205333ebaf87ec0ca16927d.tar.gz
fasthttp-12949de784e688451205333ebaf87ec0ca16927d.tar.bz2
fasthttp-12949de784e688451205333ebaf87ec0ca16927d.zip
chore: Set max line length to 130 characters (#1676)
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 40c1a1e..bfc873b 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -27,7 +27,6 @@ linters:
- gosec
- inamedparam
- ireturn
- - lll
- maintidx
- nakedret
- nestif
@@ -70,3 +69,12 @@ linters-settings:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md
rules:
- name: use-any
+ lll:
+ line-length: 130
+
+issues:
+ exclude-rules:
+ # Exclude some linters from running on tests files.
+ - path: _test\.go
+ linters:
+ - lll