From 409f3e1179601e2b26d61e6e2933b45fb5e6771b Mon Sep 17 00:00:00 2001 From: Salvador Cavadini Date: Fri, 8 Jun 2018 13:12:29 +0200 Subject: [PATCH] Adds superfuous-else rule to the rules table --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3a73c6f..a4d6514 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,7 @@ List of all available rules. The rules ported from `golint` are left unchanged a | `cyclomatic` | int | Sets restriction for maximum Cyclomatic complexity. | no | no | | `max-public-structs` | int | The maximum number of public structs in a file. | no | no | | `file-header` | string | Header which each file should have. | no | no | +| `superfluous-else` | n/a | Prevents redundant else statements (extends `indent-error-flow`) | no | no | ## Available Formatters