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:
		| @@ -314,7 +314,7 @@ _Configuration_: ([]string) rule flags. Available flags are: | ||||
| Example: | ||||
|  | ||||
| ```toml | ||||
| [rule.exported] | ||||
| [rule.early-return] | ||||
|   arguments =["preserveScope"] | ||||
| ``` | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user