From b5bc921cdd07402d1326b30455c7d7aa024cb82a Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Wed, 5 Jun 2019 12:54:06 +0900 Subject: [PATCH] lint/golangci-lint: update golangci-lint config --- .golangci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 3854281..cad4b7e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -31,11 +31,14 @@ linters-settings: - style - performance - experimental + - opinionated settings: - captLocal: - paramsOnly: true + hugeParam: + sizeThreshold: 128 + rangeExprCopy: + sizeThreshold: 512 rangeValCopy: - sizeThreshold: 32 + sizeThreshold: 128 maligned: suggest-new: true misspell: