Skip to content

Commit 305f6c1

Browse files
kultimgechev
authored andcommitted
var-naming rule: note about initialisms
1 parent 43d0e31 commit 305f6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RULES_DESCRIPTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ _Configuration_: N/A
590590

591591
## var-naming
592592

593-
_Description_: This rule warns when [variable](https://github.com/golang/go/wiki/CodeReviewComments#variable-names) or [package](https://github.com/golang/go/wiki/CodeReviewComments#package-names) naming conventions are not followed.
593+
_Description_: This rule warns when [initialism](https://github.com/golang/go/wiki/CodeReviewComments#initialisms), [variable](https://github.com/golang/go/wiki/CodeReviewComments#variable-names) or [package](https://github.com/golang/go/wiki/CodeReviewComments#package-names) naming conventions are not followed.
594594

595595
_Configuration_: This rule accepts two slices of strings, a whitelist and a blacklist of initialisms. By default, the rule behaves exactly as the alternative in `golint` but optionally, you can relax it (see [golint/lint/issues/89](https://github.com/golang/lint/issues/89))
596596

0 commit comments

Comments
 (0)