mirror of
https://github.com/mgechev/revive.git
synced 2025-03-17 20:57:58 +02:00
Adds superfuous-else rule to the rules table
This commit is contained in:
parent
336f3e0750
commit
409f3e1179
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user