1
0
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:
meanguy 2023-05-30 01:24:09 -07:00 committed by GitHub
parent 68bf7e5f38
commit ca38cc3655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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