1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +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:
meanguy
2023-05-30 01:24:09 -07:00
committed by GitHub
parent 68bf7e5f38
commit ca38cc3655

View File

@@ -314,7 +314,7 @@ _Configuration_: ([]string) rule flags. Available flags are:
Example:
```toml
[rule.exported]
[rule.early-return]
arguments =["preserveScope"]
```