Skip to content

Commit

Permalink
Fix typo in example documentation for early-return (#834)
Browse files Browse the repository at this point in the history
The example for configuring `early-return` arguments mistakenly refers to the `exported` rule.
  • Loading branch information
meanguy authored May 30, 2023
1 parent 68bf7e5 commit ca38cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RULES_DESCRIPTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ _Configuration_: ([]string) rule flags. Available flags are:
Example:

```toml
[rule.exported]
[rule.early-return]
arguments =["preserveScope"]
```

Expand Down

0 comments on commit ca38cc3

Please sign in to comment.