From 38b013f96af51d6573b6a252c071879abf6a1be8 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Thu, 24 Jun 2021 18:10:56 +0530 Subject: [PATCH] ci: configure `lll` linter to its default value ie 120 chars `lll` linter configuration was made for 180 chars till now due to long source code signatures/comments we had in the project. This address it and enabling linter with 120 chars check. Signed-off-by: Humble Chirammal --- scripts/golangci.yml.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index 636ee0c7d..08f378240 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -109,8 +109,7 @@ linters-settings: # max line length, lines longer will be reported. Default is 120. # '\t' is counted as 1 character by default, and can be changed with the # tab-width option - # TODO make line length to 120 char - line-length: 180 + line-length: 120 # tab width in spaces. Default to 1. tab-width: 1 gocritic: