diff --git a/RULES_DESCRIPTIONS.md b/RULES_DESCRIPTIONS.md index 2b795ef..6f65758 100644 --- a/RULES_DESCRIPTIONS.md +++ b/RULES_DESCRIPTIONS.md @@ -64,8 +64,8 @@ List of all available rules. - [range](#range) - [receiver-naming](#receiver-naming) - [redefines-builtin-id](#redefines-builtin-id) - - [redundant-import-alias](#redundant-import-alias) - [redundant-build-tag](#redundant-build-tag) + - [redundant-import-alias](#redundant-import-alias) - [redundant-test-main-exit](#redundant-test-main-exit) - [string-format](#string-format) - [string-of-int](#string-of-int) @@ -866,12 +866,6 @@ Even if possible, redefining these built in names can lead to bugs very difficul _Configuration_: N/A -## redundant-import-alias - -_Description_: This rule warns on redundant import aliases. This happens when the alias used on the import statement matches the imported package name. - -_Configuration_: N/A - ## redundant-build-tag _Description_: This rule warns about redundant build tag comments `// +build` when `//go:build` is present. @@ -879,6 +873,12 @@ _Description_: This rule warns about redundant build tag comments `// +build` wh _Configuration_: N/A +## redundant-import-alias + +_Description_: This rule warns on redundant import aliases. This happens when the alias used on the import statement matches the imported package name. + +_Configuration_: N/A + ## redundant-test-main-exit _Description_: This rule warns about redundant `Exit` calls in the `TestMain` function, as the Go test runner automatically handles program termination starting from Go 1.15.