From b1f01484c2d9b3ea5a023f7bcb04f01b45b277b1 Mon Sep 17 00:00:00 2001 From: Oleg Butuzov Date: Fri, 10 Sep 2021 09:25:48 +0300 Subject: [PATCH] fix: markdown headers (#570) minor markdown issue with rules headers --- RULES_DESCRIPTIONS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RULES_DESCRIPTIONS.md b/RULES_DESCRIPTIONS.md index 2c21e80..2b9f589 100644 --- a/RULES_DESCRIPTIONS.md +++ b/RULES_DESCRIPTIONS.md @@ -232,7 +232,7 @@ _Description_: It is possible to unintentionally import the same package twice. _Configuration_: N/A -### early-return +## early-return _Description_: In GO it is idiomatic to minimize nesting statements, a typical example is to avoid if-then-else constructions. This rule spots constructions like ```go @@ -408,7 +408,7 @@ Example: [imports-blacklist] arguments =["crypto/md5", "crypto/sha1"] ``` -### import-shadowing +## import-shadowing _Description_: In GO it is possible to declare identifiers (packages, structs, interfaces, parameters, receivers, variables, constants...) that conflict with the