mirror of
https://github.com/mgechev/revive.git
synced 2025-03-17 20:57:58 +02:00
Fix typo in example documentation for early-return (#834)
The example for configuring `early-return` arguments mistakenly refers to the `exported` rule.
This commit is contained in:
parent
68bf7e5f38
commit
ca38cc3655
@ -314,7 +314,7 @@ _Configuration_: ([]string) rule flags. Available flags are:
|
||||
Example:
|
||||
|
||||
```toml
|
||||
[rule.exported]
|
||||
[rule.early-return]
|
||||
arguments =["preserveScope"]
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user